From 8f594e7fed01400aaef19c90f5be4629a4d18489 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Fri, 30 Sep 2022 16:23:50 +1000 Subject: [PATCH] Fix migration --- pkg/sqlite/migrations/35_assoc_tables.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sqlite/migrations/35_assoc_tables.up.sql b/pkg/sqlite/migrations/35_assoc_tables.up.sql index 6bc73f189..ad20793b8 100644 --- a/pkg/sqlite/migrations/35_assoc_tables.up.sql +++ b/pkg/sqlite/migrations/35_assoc_tables.up.sql @@ -112,7 +112,7 @@ INSERT INTO `performers_scenes_new` SELECT `performer_id`, `scene_id` - FROM `performers_scenes` + FROM `performers_scenes` WHERE true ON CONFLICT (`scene_id`, `performer_id`) DO NOTHING; DROP TABLE `performers_scenes`;