up
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-26 11:35:11 +03:30
parent cb71f0d77c
commit 841406ad84
7 changed files with 16 additions and 54 deletions
@@ -0,0 +1,13 @@
import { Migration } from '@mikro-orm/migrations';
export class Migration20260626120000 extends Migration {
override async up(): Promise<void> {
this.addSql(`alter table "requests" drop column if exists "status";`);
}
override async down(): Promise<void> {
this.addSql(`alter table "requests" add column "status" text check ("status" in ('pending', 'invoiced')) not null default 'pending';`);
}
}