schema: flipped pg/mysql migration
This commit is contained in:
parent
9864d86422
commit
fc2e972bcd
|
@ -1,5 +1,6 @@
|
|||
DROP INDEX command_object_name;
|
||||
CREATE UNIQUE INDEX command_object_name ON icinga_command (object_name);
|
||||
ALTER TABLE icinga_command
|
||||
DROP INDEX object_name,
|
||||
ADD UNIQUE INDEX object_name (object_name);
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
ALTER TABLE icinga_command
|
||||
DROP INDEX object_name,
|
||||
ADD UNIQUE INDEX object_name (object_name);
|
||||
DROP INDEX command_object_name;
|
||||
CREATE UNIQUE INDEX command_object_name ON icinga_command (object_name);
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
|
|
Loading…
Reference in New Issue