wallet charge request
This commit is contained in:
@@ -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;`);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user