2023-11-23 09:56:20 +00:00
|
|
|
export class HardMute1700383825690 {
|
2023-11-25 03:10:31 +00:00
|
|
|
name = 'HardMute1700383825690'
|
2023-11-23 09:56:20 +00:00
|
|
|
|
2023-11-25 03:10:31 +00:00
|
|
|
async up(queryRunner) {
|
|
|
|
await queryRunner.query(`ALTER TABLE "user_profile" ADD "hardMutedWords" jsonb NOT NULL DEFAULT '[]'`);
|
|
|
|
}
|
2023-11-23 09:56:20 +00:00
|
|
|
|
2023-11-25 03:10:31 +00:00
|
|
|
async down(queryRunner) {
|
|
|
|
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "hardMutedWords"`);
|
|
|
|
}
|
2023-11-23 09:56:20 +00:00
|
|
|
}
|