12 lines
682 B
JavaScript
12 lines
682 B
JavaScript
export class UserListOptions1697733603329 {
|
|
name = 'UserListOptions1697733603329';
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user_list" ADD "hideFromHomeTl" boolean NOT NULL DEFAULT false`);
|
|
await queryRunner.query(`COMMENT ON COLUMN "user_list"."hideFromHomeTl" IS 'Whether posts from list members should be hidden from the home timeline.'`);
|
|
}
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`COMMENT ON COLUMN "user_list"."hideFromHomeTl" IS 'Whether posts from list members should be hidden from the home timeline.'`);
|
|
await queryRunner.query(`ALTER TABLE "user_list" DROP COLUMN "hideFromHomeTl"`);
|
|
}
|
|
}
|