mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
11 lines
296 B
JavaScript
11 lines
296 B
JavaScript
|
export class IndexNoteUrl1695748502971 {
|
||
|
name = "IndexNoteUrl1695748502971";
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`CREATE INDEX IF NOT EXISTS "IDX_note_url" ON "note" ("url") `);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`DROP INDEX IF EXISTS "IDX_note_url"`);
|
||
|
}
|
||
|
}
|