mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-15 03:09:32 +02:00
Fix production SAV module issues by adding missing columns and updating schemas
Introduce a SQL migration script to address critical production issues in the SAV module by adding missing columns to the `sav_tickets` table, correcting default values, and ensuring proper foreign key constraints and indexes are in place. This resolves "column does not exist" errors and aligns the production database schema with the development environment. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 31f9bd88-0285-4787-81b3-31ceeea5a08b Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/31f9bd88-0285-4787-81b3-31ceeea5a08b/BuVhk7G
This commit is contained in:
1 parent
d9c4e091af
commit
45abdc5973
4 files changed
+319
-2
No files matched your search
@@ -19,6 +19,15 @@ La plateforme fournit une gestion robuste des flux de travail de livraison avec
|
||||
|
||||
## Recent Changes
|
||||
|
||||
### 2025-08-14 - Correction critique SAV production PostgreSQL + script de migration
|
||||
🔧 **Problème production SAV résolu** :
|
||||
- **Problème** : Tables SAV en production manquaient colonnes essentielles (priority, problem_type, etc.)
|
||||
- **Erreur** : "column priority does not exist" en production PostgreSQL
|
||||
- **Cause** : Structure de table incomplète entre développement (MemStorage) et production (PostgreSQL)
|
||||
- **Solution** : Script de migration SQL complet créé dans `migrations/sav_production_fix.sql`
|
||||
- **Corrections** : Harmonisation des valeurs par défaut ("normale" vs "normal") dans le schéma
|
||||
- **Migration inclut** : Colonnes manquantes, contraintes FK, index optimisés, données existantes mises à jour
|
||||
|
||||
### 2025-08-13 - CORRECTION COMPLÈTE PostgreSQL production - Statut et Relations
|
||||
✅ **Problème production PostgreSQL entièrement résolu** :
|
||||
|
||||
|
||||
Reference in new issue
Block a user