add enable chat
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-26 12:27:38 +03:30
parent ea629fcbf6
commit 40e78b4ccd
8 changed files with 34 additions and 0 deletions
@@ -0,0 +1,13 @@
import { Migration } from '@mikro-orm/migrations';
export class Migration20260726120000_addEnableAiChatToRestaurants extends Migration {
override async up(): Promise<void> {
this.addSql(
`alter table "restaurants" add column "enable_ai_chat" boolean not null default false;`,
);
}
override async down(): Promise<void> {
this.addSql(`alter table "restaurants" drop column "enable_ai_chat";`);
}
}