Pixmenia Safe Database Update Workflow Your old workflow: - Delete all files - Upload new files - Import a full database over the old database Danger: Full database import can delete: - users - credits - credit_transactions - payments - invoices - legal consent logs - image records Protection added: 1. Admin page: /admin/database_guard.php 2. It scans SQL before import. 3. It blocks DROP/TRUNCATE/DELETE on protected tables if production data exists. 4. It creates backup_YYYYMMDD_HHMMSS_* tables before safe import. 5. Use migrations only: v17, v19, v20, v21. Best workflow now: 1. Upload new files. 2. Do NOT import database.sql over production. 3. Open Admin > Database Overwrite Guard. 4. Backup Protected Tables Now. 5. Import only migration SQL files. 6. Open Admin > Persistent Assets. 7. Repair Broken Customer Assets. Important: No code can stop you if you manually import destructive SQL directly in phpMyAdmin with full privileges. This guard protects you when you use the admin importer and provides backup tables before import.