mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 18:33:09 +02: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"`);
|
||
|
}
|
||
|
};
|