2022-07-28 22:28:13 -06:00
|
|
|
export class RecommendedTimeline1659042130648 {
|
2023-04-06 19:56:46 -06:00
|
|
|
name = "RecommendedTimeline1659042130648";
|
|
|
|
async up(queryRunner) {
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "meta" ADD "disableRecommendedTimeline" boolean NOT NULL DEFAULT true`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "meta" ADD "recommendedInstances" character varying(256) array NOT NULL DEFAULT '{}'::varchar[]`,
|
|
|
|
);
|
2022-07-28 22:28:13 -06:00
|
|
|
}
|
2023-04-06 19:56:46 -06:00
|
|
|
async down(queryRunner) {
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "meta" DROP COLUMN "disableRecommendedTimeline"`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "meta" DROP COLUMN "recommendedInstances"`,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|