fix early SQL patch
We need to remove the view on the movies table first, otherwise we might run into an internal integrity error.
This commit is contained in:
parent
f2cb66b0bf
commit
297f82bf8e
1 changed files with 3 additions and 3 deletions
|
|
@ -28,10 +28,10 @@ SELECT
|
||||||
FROM movies
|
FROM movies
|
||||||
WHERE true;;
|
WHERE true;;
|
||||||
|
|
||||||
|
DROP VIEW movies_view;;
|
||||||
|
DROP TABLE mediatypes;;
|
||||||
|
|
||||||
DROP TABLE movies;;
|
DROP TABLE movies;;
|
||||||
|
|
||||||
ALTER TABLE _migrate_movies
|
ALTER TABLE _migrate_movies
|
||||||
RENAME TO movies;;
|
RENAME TO movies;;
|
||||||
|
|
||||||
DROP VIEW movies_view;;
|
|
||||||
DROP TABLE mediatypes;;
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue