12 lines
312 B
JavaScript
12 lines
312 B
JavaScript
|
export class NoteUserIdIdIndex1736888704471 {
|
||
|
name = 'NoteUserIdIdIndex1736888704471'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`CREATE INDEX "IDX_note_userId_id" ON "note" ("userId", "id") `);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`DROP INDEX "public"."IDX_note_userId_id"`);
|
||
|
}
|
||
|
}
|