k
This commit is contained in:
@@ -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...")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user