wallet charge request

This commit is contained in:
2026-07-04 11:11:49 +03:30
parent 9f8d39938c
commit 92e97fa9d2
6 changed files with 87 additions and 9 deletions
@@ -0,0 +1,13 @@
import { Migration } from '@mikro-orm/migrations';
export class Migration20260704130000_removeRestaurantCreditColumn extends Migration {
override async up(): Promise<void> {
this.addSql(`alter table "restaurants" drop column if exists "credit";`);
}
override async down(): Promise<void> {
this.addSql(`alter table "restaurants" add column "credit" numeric(10,0) not null default 0;`);
}
}