From 37316cc3318a97a8ef8b5aef17d4ef0755976dbe Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:19:34 +0400 Subject: [PATCH] add drop index --- src/Simplex/Chat/Migrations/M20240102_note_folders.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Simplex/Chat/Migrations/M20240102_note_folders.hs b/src/Simplex/Chat/Migrations/M20240102_note_folders.hs index 6e0fbe5e4..2297ad84d 100644 --- a/src/Simplex/Chat/Migrations/M20240102_note_folders.hs +++ b/src/Simplex/Chat/Migrations/M20240102_note_folders.hs @@ -33,6 +33,7 @@ down_m20240102_note_folders = [sql| DROP INDEX chat_items_note_folder_id; DROP INDEX files_note_folder_id; +DROP INDEX note_folders_user_id; ALTER TABLE chat_items DROP COLUMN note_folder_id; ALTER TABLE files DROP COLUMN note_folder_id;