mirror of
https://github.com/YuzuZensai/Termix.git
synced 2026-11-12 16:37:04 +00:00
6 lines
305 B
SQL
6 lines
305 B
SQL
-- automations 0004: rename_maintenance_index
|
|||
|
|
-- Renames the maintenance index to the idx_ pattern every other index uses.
|
||
|
|
|
||
|
|
CREATE UNIQUE INDEX IF NOT EXISTS "idx_automation_maintenance_host_owner" ON "p_automations_host_maintenance" ("user_id", "host_id");
|
||
|
|
DROP INDEX IF EXISTS "maintenance_host_owner";
|