diff options
Diffstat (limited to '')
-rw-r--r-- | schema/mysql-migrations/upgrade_139.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/schema/mysql-migrations/upgrade_139.sql b/schema/mysql-migrations/upgrade_139.sql new file mode 100644 index 0000000..817244b --- /dev/null +++ b/schema/mysql-migrations/upgrade_139.sql @@ -0,0 +1,7 @@ +UPDATE import_row_modifier SET priority = id; + +ALTER TABLE import_row_modifier ADD UNIQUE INDEX idx_prio (source_id, priority); + +INSERT INTO director_schema_migration + (schema_version, migration_time) + VALUES (139, NOW()); |