barkey/packages/backend/migration/1739671777344-add_user_rejectQuotes.js
Hazelnoot 292d3b9229 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
2025-02-20 09:57:48 -05:00

11 lines
328 B
JavaScript

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"`);
}
}