- Add table existence checks before adding constraints/triggers - Fix playback_analytics references (table doesn't exist) - Fix playlist_versions references (table doesn't exist) - Fix follows.deleted_at reference (column doesn't exist) - Fix marketplace_products/orders triggers (tables don't exist) - All migrations now pass successfully
- Fix 050_data_validation_constraints.sql: Replace IF NOT EXISTS with DO blocks - PostgreSQL doesn't support IF NOT EXISTS with ADD CONSTRAINT - Add quick troubleshooting guide (DEPANNAGE_RAPIDE.md) - Note: .env file is gitignored (as expected)