phone ==.>phones
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-29 12:09:33 +03:30
parent 7e7f49a96b
commit f6d1716ad0
7 changed files with 224 additions and 99 deletions
@@ -0,0 +1,14 @@
import { Migration } from '@mikro-orm/migrations';
export class Migration20260629083652_phonesRestuarant extends Migration {
override async up(): Promise<void> {
this.addSql(`alter table "restaurants" add column "phones" jsonb null;`);
}
override async down(): Promise<void> {
this.addSql(`alter table "restaurants" add column "phone" varchar(255) null;`);
}
}