This commit is contained in:
Lizandro Guarnizo
2026-05-16 15:26:48 -05:00
parent f5eef70e09
commit 1b22cc2fe7
9 changed files with 118 additions and 21 deletions
+9
View File
@@ -82,6 +82,9 @@ func Migrate() {
&models.ProyectoTicket{},
&models.TicketMensaje{},
&models.Factura{},
// Sistema de notificaciones por evento
&models.NotifEventoConfig{},
&models.SistemaNotificacion{},
); err != nil {
log.Fatalf("Error during main migration: %v", err)
}
@@ -119,6 +122,12 @@ func Migrate() {
// Crear plantillas y reglas mínimas si no existen (bienvenida, pago_recibido)
SeedPlantillasBase()
// Agregar submódulo "Telegram" al módulo Integraciones
SeedTelegram()
// Crear módulo y submódulos de Portal de Clientes
SeedPortalClientes()
log.Println("Migration Completed...")
}