print invoice field in order
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-01 12:26:55 +03:30
parent 2a633a28b4
commit bd084e2e63
7 changed files with 45 additions and 2 deletions
@@ -0,0 +1,13 @@
import { Migration } from '@mikro-orm/migrations';
export class Migration20260701083547_addPrintInvoiceToOrders extends Migration {
override async up(): Promise<void> {
this.addSql(`alter table "orders" add column "print_invoice" boolean not null default false;`);
}
override async down(): Promise<void> {
this.addSql(`alter table "orders" drop column "print_invoice";`);
}
}