Skip to content

Commit c523fc3

Browse files
committed
add missing migration step
1 parent 2b627a4 commit c523fc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

migration.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ SAVEPOINT files;
1414
ALTER TABLE files ALTER COLUMN filename SET NOT NULL; -- always require filename
1515
ALTER TABLE files DROP COLUMN IF EXISTS attachment; -- we don't have these anymore
1616
ALTER TABLE files ADD COLUMN IF NOT EXISTS annotation TEXT;
17+
ALTER TABLE files RENAME index TO file_index; -- bad column name
1718

1819
SAVEPOINT drops;
1920
DROP TABLE IF EXISTS bans CASCADE; -- no longer needed

0 commit comments

Comments
 (0)