feat: add initial Prisma schema for user, authentication, restaurant, and menu entities, and update database connection URL.

This commit is contained in:
2025-12-02 11:10:18 +03:00
parent c6818e55ca
commit 812b2171b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,6 +7,6 @@ export default defineConfig({
}, },
engine: 'classic', engine: 'classic',
datasource: { datasource: {
url: 'postgresql://postgres:root@localhost:5432/zemenu?schema=public', url: 'postgresql://zemenu_db_user:Bx5QvACdW9iMC7k6guIQHZUM60c0a6jZ@dpg-d4n9ekggjchc73buc9qg-a.oregon-postgres.render.com/zemenu_db',
}, },
}); });
+1 -1
View File
@@ -5,7 +5,7 @@ generator client {
datasource db { datasource db {
provider = "postgresql" provider = "postgresql"
url = "postgresql://postgres:root@localhost:5432/zemenu?schema=public" url = env("DATABASE_URL")
} }
model User { model User {