mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-24 07:38:18 +02:00
Automate database table creation during initial application deployment
Updates docker-compose to build images and adds Drizzle ORM push command to docker-entrypoint-simple.sh for automatic table creation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/142044c4-d937-4abb-ae50-83d9764cfb4d.jpg
This commit is contained in:
1 parent
e761448ae9
commit
4c89a7e2e5
5 files changed
+208
-12
No files matched your search
@@ -0,0 +1,95 @@
|
||||
at async DatabaseStorage.getAllUsers (file:///app/dist/index.js:187:12)
|
||||
at async DatabaseStorage.initializeDefaults (file:///app/dist/index.js:258:27)
|
||||
at async registerRoutes (file:///app/dist/index.js:510:22)
|
||||
at async file:///app/dist/index.js:1071:18 {
|
||||
length: 105,
|
||||
severity: 'ERROR',
|
||||
code: '42P01',
|
||||
detail: undefined,
|
||||
hint: undefined,
|
||||
position: '139',
|
||||
internalPosition: undefined,
|
||||
internalQuery: undefined,
|
||||
where: undefined,
|
||||
schema: undefined,
|
||||
table: undefined,
|
||||
column: undefined,
|
||||
dataType: undefined,
|
||||
constraint: undefined,
|
||||
file: 'parse_relation.c',
|
||||
line: '1392',
|
||||
routine: 'parserOpenTable'
|
||||
}
|
||||
Node.js v18.20.8
|
||||
🚀 Démarrage de RegisFlow (mode simplifié)...
|
||||
📡 Attente de la base de données...
|
||||
✅ PostgreSQL prêt!
|
||||
✅ Base de données configurée
|
||||
🎯 Démarrage de RegisFlow...
|
||||
✅ Node.js 18 compatibility fix applied
|
||||
/app/node_modules/pg-pool/index.js:45
|
||||
Error.captureStackTrace(err)
|
||||
^
|
||||
error: relation "users" does not exist
|
||||
at /app/node_modules/pg-pool/index.js:45:11
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
||||
at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:83:22
|
||||
at async DatabaseStorage.getAllUsers (file:///app/dist/index.js:187:12)
|
||||
at async DatabaseStorage.initializeDefaults (file:///app/dist/index.js:258:27)
|
||||
at async registerRoutes (file:///app/dist/index.js:510:22)
|
||||
at async file:///app/dist/index.js:1071:18 {
|
||||
length: 105,
|
||||
severity: 'ERROR',
|
||||
code: '42P01',
|
||||
detail: undefined,
|
||||
hint: undefined,
|
||||
position: '139',
|
||||
internalPosition: undefined,
|
||||
internalQuery: undefined,
|
||||
where: undefined,
|
||||
schema: undefined,
|
||||
table: undefined,
|
||||
column: undefined,
|
||||
dataType: undefined,
|
||||
constraint: undefined,
|
||||
file: 'parse_relation.c',
|
||||
line: '1392',
|
||||
routine: 'parserOpenTable'
|
||||
}
|
||||
Node.js v18.20.8
|
||||
🚀 Démarrage de RegisFlow (mode simplifié)...
|
||||
📡 Attente de la base de données...
|
||||
✅ PostgreSQL prêt!
|
||||
✅ Base de données configurée
|
||||
🎯 Démarrage de RegisFlow...
|
||||
✅ Node.js 18 compatibility fix applied
|
||||
/app/node_modules/pg-pool/index.js:45
|
||||
Error.captureStackTrace(err)
|
||||
^
|
||||
error: relation "users" does not exist
|
||||
at /app/node_modules/pg-pool/index.js:45:11
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
||||
at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:83:22
|
||||
at async DatabaseStorage.getAllUsers (file:///app/dist/index.js:187:12)
|
||||
at async DatabaseStorage.initializeDefaults (file:///app/dist/index.js:258:27)
|
||||
at async registerRoutes (file:///app/dist/index.js:510:22)
|
||||
at async file:///app/dist/index.js:1071:18 {
|
||||
length: 105,
|
||||
severity: 'ERROR',
|
||||
code: '42P01',
|
||||
detail: undefined,
|
||||
hint: undefined,
|
||||
position: '139',
|
||||
internalPosition: undefined,
|
||||
internalQuery: undefined,
|
||||
where: undefined,
|
||||
schema: undefined,
|
||||
table: undefined,
|
||||
column: undefined,
|
||||
dataType: undefined,
|
||||
constraint: undefined,
|
||||
file: 'parse_relation.c',
|
||||
line: '1392',
|
||||
routine: 'parserOpenTable'
|
||||
}
|
||||
Node.js v18.20.8
|
||||
Reference in new issue
Block a user