mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 12:14:18 +00:00
add "reject quotes" toggle at user and instance level
+ improve, cleanup, and de-duplicate quote resolution + add warning message when quote cannot be loaded + add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export class AddNoteProcessErrors1739671352784 {
|
||||
name = 'AddNoteProcessErrors1739671352784'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "note" ADD "processErrors" text array`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "processErrors"`);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
export class AddUserRejectQuotes1739671777344 {
|
||||
name = 'AddUserRejectQuotes1739671777344'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" ADD "rejectQuotes" boolean NOT NULL DEFAULT false`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "rejectQuotes"`);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
export class AddInstanceRejectQuotes1739671847942 {
|
||||
name = 'AddInstanceRejectQuotes1739671847942'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "instance" ADD "rejectQuotes" boolean NOT NULL DEFAULT false`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "rejectQuotes"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user