2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

fixed primary key of dhcp_option_scope table

This commit is contained in:
Razvan Becheriu
2018-02-15 12:28:09 +02:00
parent 761f2823a1
commit a24dcb939f
2 changed files with 2 additions and 2 deletions

View File

@@ -260,7 +260,7 @@ INSERT INTO host_identifier_type (type, name) VALUES (4, 'flex-id');
CREATE TABLE IF NOT EXISTS dhcp_option_scope (
scope_id int,
scope_name varchar,
PRIMARY KEY ((scope_name))
PRIMARY KEY ((scope_id))
);
INSERT INTO dhcp_option_scope (scope_id, scope_name) VALUES (0, 'global');

View File

@@ -87,7 +87,7 @@ INSERT INTO host_identifier_type (type, name) VALUES (4, 'flex-id');
CREATE TABLE IF NOT EXISTS dhcp_option_scope (
scope_id int,
scope_name varchar,
PRIMARY KEY ((scope_name))
PRIMARY KEY ((scope_id))
);
INSERT INTO dhcp_option_scope (scope_id, scope_name) VALUES (0, 'global');