mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-21 14:08:15 +02:00
Automate database table creation during Docker updates
Add scripts and Dockerfile modifications to ensure database tables are automatically created or updated when the Docker image is rebuilt and deployed. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
This commit is contained in:
1 parent
e8007d52b1
commit
74e7eb8118
7 files changed
+381
-2
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# Script de migration manuelle pour forcer une mise à jour
|
||||
# Usage: docker exec logiflow-logiflow-1 /app/scripts/manual-migrate.sh
|
||||
|
||||
echo "🔧 [MANUAL-MIGRATE] Début de la migration manuelle forcée..."
|
||||
|
||||
# Sourcer le script de migration automatique
|
||||
if [ -f "/app/scripts/auto-migrate-production.sh" ]; then
|
||||
source /app/scripts/auto-migrate-production.sh
|
||||
else
|
||||
echo "❌ [MANUAL-MIGRATE] Script de migration automatique non trouvé"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "✅ [MANUAL-MIGRATE] Migration manuelle terminée!"
|
||||
Reference in new issue
Block a user