Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
export class isUserDeleted1629512953000 {
|
||||
constructor(){
|
||||
this.name = "isUserDeleted1629512953000";
|
||||
}
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" ADD "isDeleted" boolean NOT NULL DEFAULT false`);
|
||||
await queryRunner.query(`COMMENT ON COLUMN "user"."isDeleted" IS 'Whether the User is deleted.'`);
|
||||
}
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "isDeleted"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user