mirror of https://github.com/stashapp/stash.git
Ignore conflicts on performers_galleries
This commit is contained in:
parent
4c73f2f845
commit
55001ddcf1
|
@ -386,7 +386,8 @@ INSERT INTO `performers_galleries_new`
|
||||||
SELECT
|
SELECT
|
||||||
`performer_id`,
|
`performer_id`,
|
||||||
`gallery_id`
|
`gallery_id`
|
||||||
FROM `performers_galleries`;
|
FROM `performers_galleries` WHERE true
|
||||||
|
ON CONFLICT (`gallery_id`, `performer_id`) DO NOTHING;
|
||||||
|
|
||||||
DROP TABLE `performers_galleries`;
|
DROP TABLE `performers_galleries`;
|
||||||
ALTER TABLE `performers_galleries_new` rename to `performers_galleries`;
|
ALTER TABLE `performers_galleries_new` rename to `performers_galleries`;
|
||||||
|
|
Loading…
Reference in New Issue