feat: isIndexable

This commit is contained in:
Mar0xy 2023-11-07 19:16:57 +01:00
parent 53f2089116
commit 9cd2759769
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
15 changed files with 48 additions and 4 deletions

View file

@ -0,0 +1,11 @@
export class IsIndexable1699376974000 {
name = 'IsIndexable1699376974000'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user" ADD "isIndexable" boolean NOT NULL DEFAULT true`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "isIndexable"`);
}
}