From 297f82bf8e586cdbf9db310f85324910b4a07dbe Mon Sep 17 00:00:00 2001 From: ducklet Date: Tue, 7 Dec 2021 23:22:51 +0100 Subject: [PATCH] fix early SQL patch We need to remove the view on the movies table first, otherwise we might run into an internal integrity error. --- unwind/sql/00000000-init-4.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unwind/sql/00000000-init-4.sql b/unwind/sql/00000000-init-4.sql index 4d7590e..984ef37 100644 --- a/unwind/sql/00000000-init-4.sql +++ b/unwind/sql/00000000-init-4.sql @@ -28,10 +28,10 @@ SELECT FROM movies WHERE true;; +DROP VIEW movies_view;; +DROP TABLE mediatypes;; + DROP TABLE movies;; ALTER TABLE _migrate_movies RENAME TO movies;; - -DROP VIEW movies_view;; -DROP TABLE mediatypes;;