feat: implement initial database schema and services for authentication, restaurants, categories, and menu items with image support.

This commit is contained in:
2025-12-01 15:08:58 +03:00
parent 365dd603db
commit c6818e55ca
4 changed files with 7 additions and 1 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Category" ADD COLUMN "image" TEXT;
+1
View File
@@ -97,6 +97,7 @@ model Restaurant {
model Category {
id String @id @default(uuid())
name String
image String?
restaurantId String
restaurant Restaurant @relation(fields: [restaurantId], references: [id], onDelete: Cascade)