mirror of
https://github.com/pockethost/pockethost.git
synced 2025-10-14 00:59:25 +00:00
Unique constraint fix
This commit is contained in:
parent
1cd3257e7d
commit
69d78b83ad
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user