Sync: add missing migration files for sync-only

refs #2059
This commit is contained in:
Thomas Gelf 2020-01-21 20:11:52 +01:00
parent 66fdeec923
commit b1c29c16d0
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,7 @@
ALTER TABLE sync_rule
MODIFY COLUMN update_policy ENUM('merge', 'override', 'ignore', 'update-only') NOT NULL;
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (170, NOW());

View File

@ -0,0 +1,5 @@
ALTER TYPE enum_sync_rule_update_policy ADD VALUE 'update-only' AFTER 'ignore';
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (170, NOW());