From bf38af1022b640870647f3a259b79f2514207d70 Mon Sep 17 00:00:00 2001 From: Dallas Hoffman Date: Sun, 10 Sep 2023 18:06:30 -0400 Subject: [PATCH] Migration fix --- src/lib/db/migrations/2023-08-30.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/db/migrations/2023-08-30.ts b/src/lib/db/migrations/2023-08-30.ts index 3ffc361..440c749 100644 --- a/src/lib/db/migrations/2023-08-30.ts +++ b/src/lib/db/migrations/2023-08-30.ts @@ -39,6 +39,7 @@ export const Migration20230830: Migration = { }, async down(db: Kysely) { await db.schema.dropTable('note').execute(); + await sql`DROP TRIGGER noteUpdateUpdatedAtTrigger`.execute(db); await db.schema.dropTable('tag').execute(); await db.schema.dropTable('noteTag').execute(); },