feat: implement initial database schema and services for authentication, restaurants, categories, and menu items with image support.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Category" ADD COLUMN "image" TEXT;
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user