Skip to content

Commit

Permalink
drop faulty unique index
Browse files Browse the repository at this point in the history
  • Loading branch information
twobiers committed Jul 29, 2024
1 parent 26b0976 commit a83217a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/storage/migrations/07-fix-emotes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { type Kysely } from "kysely";

export async function up(db: Kysely<any>) {
await db.schema.dropIndex("emoteUse_emoteId_isReaction_deletedAt").execute();
}

export async function down(_db: Kysely<any>) {
throw new Error("Not supported lol");
}

0 comments on commit a83217a

Please sign in to comment.