mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 09:49:05 +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"`);
|
||
|
}
|
||
|
};
|