mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 19:35:12 +00:00
14 lines
397 B
JavaScript
14 lines
397 B
JavaScript
|
const { QueryRunner } = require('typeorm');
|
||
|
|
||
|
module.exports = class forwardedReport1637320813000 {
|
||
|
name = 'forwardedReport1637320813000';
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "abuse_user_report" ADD "forwarded" boolean NOT NULL DEFAULT false`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "abuse_user_report" DROP COLUMN "forwarded"`);
|
||
|
}
|
||
|
};
|