2023-01-05 04:06:48 +00:00
|
|
|
export class DefaultReaction1672882664294 {
|
2023-04-07 01:56:46 +00:00
|
|
|
name = "DefaultReaction1672882664294";
|
2023-01-05 04:06:48 +00:00
|
|
|
|
|
|
|
async up(queryRunner) {
|
2023-04-07 01:56:46 +00:00
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "meta" ADD "defaultReaction" character varying(256) NOT NULL DEFAULT '⭐'`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(
|
|
|
|
`COMMENT ON COLUMN "meta"."defaultReaction" IS 'The fallback reaction for emoji reacts'`,
|
|
|
|
);
|
2023-01-05 04:06:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
async down(queryRunner) {
|
|
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "defaultReaction"`);
|
|
|
|
}
|
|
|
|
}
|