mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Ignore conflicts on performers_galleries
This commit is contained in:
@@ -386,7 +386,8 @@ INSERT INTO `performers_galleries_new`
|
||||
SELECT
|
||||
`performer_id`,
|
||||
`gallery_id`
|
||||
FROM `performers_galleries`;
|
||||
FROM `performers_galleries` WHERE true
|
||||
ON CONFLICT (`gallery_id`, `performer_id`) DO NOTHING;
|
||||
|
||||
DROP TABLE `performers_galleries`;
|
||||
ALTER TABLE `performers_galleries_new` rename to `performers_galleries`;
|
||||
|
||||
Reference in New Issue
Block a user