Commit db96e406 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[5195] flex-id value added to know identifiers list.

parent 4499b731
......@@ -480,8 +480,9 @@ UPDATE schema_version
SET version = '5', minor = '0';
# This line concludes database upgrade to version 5.0.
# Add missing 'client-id' host identifier type.
# Add missing 'client-id' and new 'flex-id' host identifier types.
INSERT INTO host_identifier_type VALUES (3, 'client-id');
INSERT INTO host_identifier_type VALUES (4, 'flex-id');
# Update the schema version number
UPDATE schema_version
......
......@@ -17,8 +17,9 @@ fi
mysql "$@" <<EOF
# Add missing 'client-id' host identifier type.
# Add missing 'client-id' and new 'flex-id' host identifier types.
INSERT INTO host_identifier_type VALUES (3, 'client-id');
INSERT INTO host_identifier_type VALUES (4, 'flex-id');
# Update the schema version number
UPDATE schema_version
......
......@@ -483,11 +483,11 @@ UPDATE schema_version
-- Schema 3.0 specification ends here.
-- This is a placeholder for the changes between 3.0 and 3.1. Even if there
-- are no further changes the schema version should be set to 3.1, because
-- we have added a missing 'client-id' host reservation type entry in the
-- 3.0 -> 3.1 upgrade script. This entry had been accidentally omitted when
-- the 2.0 -> 3.0 upgrade script was created.
-- This is a placeholder for the changes between 3.0 and 3.1. We have added a
-- missing 'client-id' host reservation type entry that had been accidentally
-- omitted when the 2.0 -> 3.0 upgrade script was created.
-- Also, new flexible identifier has been added.
INSERT INTO host_identifier_type VALUES (4, 'flex-id');
-- Set 3.1 schema version.
UPDATE schema_version
......
......@@ -32,6 +32,9 @@ INSERT INTO host_identifier_type (type, name)
SELECT type FROM host_identifier_type WHERE type = 3
);
-- We also add a new identifier type: flex-id.
INSERT INTO host_identifier_type VALUES (4, 'flex-id');
-- Set 3.1 schema version.
UPDATE schema_version
SET version = '3', minor = '1';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment