@@ -87,9 +87,12 @@ func Migrate() {
|
||||
// Sistema de notificaciones por evento
|
||||
&models.NotifEventoConfig{},
|
||||
&models.SistemaNotificacion{},
|
||||
&models.ServidorAlertaUmbral{},
|
||||
// Submódulo Partner
|
||||
&models.PartnerRecurso{},
|
||||
&models.PartnerComunicado{},
|
||||
// Integración VCard API Admin (Laravel)
|
||||
&models.VcardApiConfig{},
|
||||
); err != nil {
|
||||
log.Fatalf("Error during main migration: %v", err)
|
||||
}
|
||||
@@ -422,6 +425,7 @@ func SeedIntegraciones() {
|
||||
entries := []struct{ title, desc, url string }{
|
||||
{"Hostinger", "Panel de VPS, dominios, hosting y DNS de Hostinger", "/app/hostinger"},
|
||||
{"Cloudflare", "Gestión de zonas, DNS, SSL y firewall en Cloudflare", "/app/cloudflare"},
|
||||
{"VCard API", "Integración con el sistema VCard externo (Laravel + Sanctum): usuarios, membresías, vcards, pagos y más", "/app/vcard-api"},
|
||||
}
|
||||
|
||||
var insertados []models.Submodules
|
||||
@@ -736,6 +740,7 @@ func MigratePortal() {
|
||||
&models.ProyectoFase{},
|
||||
&models.ProyectoAvance{},
|
||||
&models.ProyectoEntregable{},
|
||||
&models.ProyectoDocumento{},
|
||||
&models.ProyectoTicket{},
|
||||
&models.TicketMensaje{},
|
||||
&models.PortalUser{},
|
||||
|
||||
Reference in New Issue
Block a user