Files
Termix/plugins/automations/migrations/mysql/0004_rename_maintenance_index.sql
T

6 lines
317 B
SQL
Raw Normal View History

2026-10-01 16:20:16 -05:00
-- automations 0004: rename_maintenance_index
-- Renames the maintenance index to the idx_ pattern every other index uses.
CREATE UNIQUE INDEX `idx_automation_maintenance_host_owner` ON `p_automations_host_maintenance` (`user_id`, `host_id`);
DROP INDEX `maintenance_host_owner` ON `p_automations_host_maintenance`;