parent
f0a70a70c3
commit
9bc5d52e41
18 changed files with 155 additions and 72 deletions
|
@ -0,0 +1,11 @@
|
|||
export class channelNotePining1680238118084 {
|
||||
name = 'channelNotePining1680238118084'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "channel" ADD "pinnedNoteIds" character varying(128) array NOT NULL DEFAULT '{}'`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "channel" DROP COLUMN "pinnedNoteIds"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue