mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-06 08:55:13 +00:00
[#89,!22] Auto increment option id.
This commit is contained in:
@@ -999,7 +999,7 @@ CREATE TABLE IF NOT EXISTS dhcp4_subnet_server (
|
||||
|
||||
|
||||
# Modify the primary key to BINGINT as other tables have.
|
||||
ALTER TABLE dhcp4_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL;
|
||||
ALTER TABLE dhcp4_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
|
||||
# Add conifguration backend specific columns.
|
||||
ALTER TABLE dhcp4_options
|
||||
@@ -1251,7 +1251,7 @@ CREATE TABLE IF NOT EXISTS dhcp6_pool (
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
# Modify the primary key to BINGINT as other tables have.
|
||||
ALTER TABLE dhcp6_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL;
|
||||
ALTER TABLE dhcp6_options MODIFY option_id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
|
||||
# Add conifguration backend specific columns.
|
||||
ALTER TABLE dhcp6_options
|
||||
|
Reference in New Issue
Block a user