mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 08:36:27 +01: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"`);
|
||
|
}
|
||
|
};
|