diff --git a/src/mothership-app/migrations/1703778362_updated_instances.js b/src/mothership-app/migrations/1703778362_updated_instances.js index de59358c..271d62ed 100644 --- a/src/mothership-app/migrations/1703778362_updated_instances.js +++ b/src/mothership-app/migrations/1703778362_updated_instances.js @@ -10,7 +10,7 @@ migrate((db) => { "CREATE INDEX `idx_TfdgNnO` ON `instances` (`maintenance`)", "CREATE INDEX `idx_FrmHehp` ON `instances` (`created`)", "CREATE INDEX `idx_tNMeylJ` ON `instances` (`updated`)", - "CREATE UNIQUE INDEX `idx_rBYwAXi` ON `instances` (`cname_active`) WHERE cname != ''" + "CREATE UNIQUE INDEX `idx_rBYwAXi` ON `instances` (`cname`) WHERE cname != ''" ] // add