]> granicus.if.org Git - pdns/commitdiff
gmysql-backend: set unsigned attribute on notified_serial column
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 28 Nov 2017 22:44:02 +0000 (23:44 +0100)
committermind04 <mind04@monshouwer.org>
Thu, 30 Nov 2017 14:27:51 +0000 (15:27 +0100)
build-scripts/build-auth-rpm
modules/gmysqlbackend/4.1.0_to_4.1.1_schema.mysql.sql [new file with mode: 0644]
modules/gmysqlbackend/Makefile.am
modules/gmysqlbackend/schema.mysql.sql

index a02575c24aa7f7257bc39f641b5b89fabc6528df..62adc374c1ece841a1be4d547cf46fcdb864ff2d 100755 (executable)
@@ -471,6 +471,7 @@ fi
 %doc %{_defaultdocdir}/%{name}/nodnssec-3.x_to_3.4.0_schema.mysql.sql
 %doc %{_defaultdocdir}/%{name}/dnssec-3.x_to_3.4.0_schema.mysql.sql
 %doc %{_defaultdocdir}/%{name}/3.4.0_to_4.1.0_schema.mysql.sql
+%doc %{_defaultdocdir}/%{name}/4.1.0_to_4.1.1_schema.mysql.sql
 %{_libdir}/%{name}/libgmysqlbackend.so
 
 %files backend-postgresql
diff --git a/modules/gmysqlbackend/4.1.0_to_4.1.1_schema.mysql.sql b/modules/gmysqlbackend/4.1.0_to_4.1.1_schema.mysql.sql
new file mode 100644 (file)
index 0000000..6745c63
--- /dev/null
@@ -0,0 +1 @@
+ALTER TABLE domains MODIFY notified_serial INT UNSIGNED DEFAULT NULL;
index 43c09c90425d2cc4fa76e360d86aedf5b35fb671..aea6142cd7526ba2e19d08441f6025e80689e885 100644 (file)
@@ -13,6 +13,7 @@ dist_doc_DATA = \
        dnssec-3.x_to_3.4.0_schema.mysql.sql \
        nodnssec-3.x_to_3.4.0_schema.mysql.sql \
        3.4.0_to_4.1.0_schema.mysql.sql \
+       4.1.0_to_4.1.1_schema.mysql.sql \
        schema.mysql.sql
 
 libgmysqlbackend_la_SOURCES = \
index bf15329b90aa3a9b626be66ba9f557594f916cf4..1c6eee5a5b4e8dd09d0b5dc71e7d78d01c4039a0 100644 (file)
@@ -4,7 +4,7 @@ CREATE TABLE domains (
   master                VARCHAR(128) DEFAULT NULL,
   last_check            INT DEFAULT NULL,
   type                  VARCHAR(6) NOT NULL,
-  notified_serial       INT DEFAULT NULL,
+  notified_serial       INT UNSIGNED DEFAULT NULL,
   account               VARCHAR(40) CHARACTER SET 'utf8' DEFAULT NULL,
   PRIMARY KEY (id)
 ) Engine=InnoDB CHARACTER SET 'latin1';