add missing constraint names to SkActivityLog and SkActivityContext
This commit is contained in:
parent
561f46b8d4
commit
07cd01ec34
3 changed files with 29 additions and 8 deletions
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: hazelnoot and other Sharkey contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
export class RenameActivityLogIndexes1731910422761 {
|
||||
name = 'RenameActivityLogIndexes1731910422761'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`DROP INDEX "public"."IDK_activity_context_md5"`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`CREATE INDEX "IDK_activity_context_md5" ON "activity_context" ("md5") `);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue