fix: corregir migraciones fallidas, redis doble carga y cache de assets
- Eliminar .env del tracking de git (credenciales no deben ir en repo) - Agregar .env y .env.* al .dockerignore (no hornear credenciales en imagen) - Quitar extension=redis.so duplicada en php.ini - Activar cache 7d para assets estáticos en nginx - Corregir 5 migraciones: eliminar INSERT INTO migrations con columna incorrecta y remover semicolons en comentarios -- que partian el parser SQL Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
a39e94c71b
commit
1342d305ec
@@ -38,6 +38,3 @@ INSERT IGNORE INTO role_modules (role_id, module_slug, can_view, can_create, can
|
||||
SELECT r.id, 'whatsapp', 1, 1, 1, 0, 1
|
||||
FROM roles r WHERE r.slug = 'operador_bot';
|
||||
|
||||
-- Registrar migración
|
||||
INSERT IGNORE INTO migrations (migration, executed_at)
|
||||
VALUES ('002_nuevos_roles', NOW());
|
||||
|
||||
Reference in New Issue
Block a user