Commit 1cffada 1 parent 4c4a676 commit 1cffada Copy full SHA for 1cffada
File tree 2 files changed +4
-4
lines changed
src/share/database/scripts/mysql
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -999,7 +999,7 @@ CREATE TABLE IF NOT EXISTS dhcp4_subnet_server (
999
999
1000
1000
1001
1001
# Modify the primary key to BINGINT as other tables have.
1002
- ALTER TABLE dhcp4_options MODIFY option_id BIGINT (20 ) UNSIGNED NOT NULL ;
1002
+ ALTER TABLE dhcp4_options MODIFY option_id BIGINT (20 ) UNSIGNED NOT NULL AUTO_INCREMENT ;
1003
1003
1004
1004
# Add conifguration backend specific columns.
1005
1005
ALTER TABLE dhcp4_options
@@ -1251,7 +1251,7 @@ CREATE TABLE IF NOT EXISTS dhcp6_pool (
1251
1251
) ENGINE= InnoDB;
1252
1252
1253
1253
# Modify the primary key to BINGINT as other tables have.
1254
- ALTER TABLE dhcp6_options MODIFY option_id BIGINT (20 ) UNSIGNED NOT NULL ;
1254
+ ALTER TABLE dhcp6_options MODIFY option_id BIGINT (20 ) UNSIGNED NOT NULL AUTO_INCREMENT ;
1255
1255
1256
1256
# Add conifguration backend specific columns.
1257
1257
ALTER TABLE dhcp6_options
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ CREATE TABLE IF NOT EXISTS dhcp4_subnet_server (
327
327
328
328
# Modify the primary key to BINGINT as other tables have.
329
329
#
330
- ALTER TABLE dhcp4_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL;
330
+ ALTER TABLE dhcp4_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT ;
331
331
332
332
# Add conifguration backend specific columns.
333
333
ALTER TABLE dhcp4_options
@@ -562,7 +562,7 @@ CREATE TABLE IF NOT EXISTS dhcp6_pool (
562
562
) ENGINE=InnoDB;
563
563
564
564
# Modify the primary key to BINGINT as other tables have.
565
- ALTER TABLE dhcp6_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL;
565
+ ALTER TABLE dhcp6_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT ;
566
566
567
567
# Add conifguration backend specific columns.
568
568
ALTER TABLE dhcp6_options
You can’t perform that action at this time.
0 commit comments