mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
10 lines
298 B
JavaScript
10 lines
298 B
JavaScript
export class IndexNoteUserId1695861526125 {
|
|
name = "IndexNoteUserId1695861526125";
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`CREATE INDEX "IDX_note_userId_id" ON "note" ("userId", "id")`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`DROP INDEX "IDX_note_userId_id"`);
|
|
}
|
|
}
|