mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-12-04 15:47:55 -07:00
13 lines
458 B
JavaScript
13 lines
458 B
JavaScript
|
export class DefaultReaction1672882664294 {
|
||
|
name = 'DefaultReaction1672882664294'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
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'`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "defaultReaction"`);
|
||
|
}
|
||
|
}
|