From d89fe872e994dbbc55c0bd7b039bf6ae554ae679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20N=C3=B8rgaard?= Date: Tue, 7 May 2024 03:16:09 +0100 Subject: [PATCH] t[oi --- migration.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration.sql b/migration.sql index e302378..dfc4bd6 100644 --- a/migration.sql +++ b/migration.sql @@ -14,7 +14,7 @@ SAVEPOINT files; ALTER TABLE files ALTER COLUMN filename SET NOT NULL; -- always require filename ALTER TABLE files DROP COLUMN IF EXISTS attachment; -- we don't have these anymore ALTER TABLE files ADD COLUMN IF NOT EXISTS annotation TEXT; -ALTER TABLE files RENAME index TO file_index; -- bad column name +ALTER TABLE files RENAME COLUMN index TO file_index; -- bad column name SAVEPOINT drops; DROP TABLE IF EXISTS bans CASCADE; -- no longer needed