We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b627a4 commit c523fc3Copy full SHA for c523fc3
migration.sql
@@ -14,6 +14,7 @@ SAVEPOINT files;
14
ALTER TABLE files ALTER COLUMN filename SET NOT NULL; -- always require filename
15
ALTER TABLE files DROP COLUMN IF EXISTS attachment; -- we don't have these anymore
16
ALTER TABLE files ADD COLUMN IF NOT EXISTS annotation TEXT;
17
+ALTER TABLE files RENAME index TO file_index; -- bad column name
18
19
SAVEPOINT drops;
20
DROP TABLE IF EXISTS bans CASCADE; -- no longer needed
0 commit comments