@oneuptime/common 11.0.1 → 11.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/DatabaseModels/Alert.ts +276 -0
- package/Models/DatabaseModels/AlertLabelRule.ts +38 -0
- package/Models/DatabaseModels/AlertOwnerRule.ts +38 -0
- package/Models/DatabaseModels/CephCluster.ts +964 -0
- package/Models/DatabaseModels/CephClusterLabelRule.ts +514 -0
- package/Models/DatabaseModels/CephClusterOwnerRule.ts +596 -0
- package/Models/DatabaseModels/CephClusterOwnerTeam.ts +487 -0
- package/Models/DatabaseModels/CephClusterOwnerUser.ts +486 -0
- package/Models/DatabaseModels/CephResource.ts +809 -0
- package/Models/DatabaseModels/DockerSwarmCluster.ts +989 -0
- package/Models/DatabaseModels/DockerSwarmClusterLabelRule.ts +514 -0
- package/Models/DatabaseModels/DockerSwarmClusterOwnerRule.ts +596 -0
- package/Models/DatabaseModels/DockerSwarmClusterOwnerTeam.ts +487 -0
- package/Models/DatabaseModels/DockerSwarmClusterOwnerUser.ts +486 -0
- package/Models/DatabaseModels/DockerSwarmResource.ts +750 -0
- package/Models/DatabaseModels/Host.ts +64 -0
- package/Models/DatabaseModels/Incident.ts +276 -0
- package/Models/DatabaseModels/IncidentLabelRule.ts +38 -0
- package/Models/DatabaseModels/IncidentOwnerRule.ts +38 -0
- package/Models/DatabaseModels/IncidentTemplate.ts +56 -0
- package/Models/DatabaseModels/Index.ts +48 -0
- package/Models/DatabaseModels/PodmanHost.ts +859 -0
- package/Models/DatabaseModels/PodmanHostLabelRule.ts +514 -0
- package/Models/DatabaseModels/PodmanHostOwnerRule.ts +596 -0
- package/Models/DatabaseModels/PodmanHostOwnerTeam.ts +487 -0
- package/Models/DatabaseModels/PodmanHostOwnerUser.ts +486 -0
- package/Models/DatabaseModels/PodmanResource.ts +498 -0
- package/Models/DatabaseModels/ProxmoxCluster.ts +943 -0
- package/Models/DatabaseModels/ProxmoxClusterLabelRule.ts +514 -0
- package/Models/DatabaseModels/ProxmoxClusterOwnerRule.ts +596 -0
- package/Models/DatabaseModels/ProxmoxClusterOwnerTeam.ts +487 -0
- package/Models/DatabaseModels/ProxmoxClusterOwnerUser.ts +486 -0
- package/Models/DatabaseModels/ProxmoxResource.ts +726 -0
- package/Models/DatabaseModels/ScheduledMaintenance.ts +220 -0
- package/Models/DatabaseModels/ScheduledMaintenanceLabelRule.ts +38 -0
- package/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.ts +38 -0
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.ts +56 -0
- package/Models/DatabaseModels/TelemetryException.ts +2 -0
- package/Server/API/BillingInvoiceAPI.ts +47 -7
- package/Server/API/CephResourceAPI.ts +134 -0
- package/Server/API/DashboardAPI.ts +135 -0
- package/Server/API/DockerSwarmResourceAPI.ts +137 -0
- package/Server/API/ProjectAPI.ts +15 -0
- package/Server/API/ProxmoxResourceAPI.ts +132 -0
- package/Server/API/ResellerPlanAPI.ts +17 -0
- package/Server/API/TelemetryAPI.ts +8 -1
- package/Server/Infrastructure/GlobalCache.ts +8 -2
- package/Server/Infrastructure/Postgres/SchemaMigrations/1781500000000-AddProxmoxAndCephClusterTables.ts +163 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1781587937032-MigrationName.ts +3199 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1781600000000-AddProxmoxCephV2Columns.ts +211 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1781600000001-AddProxmoxCephActivityAndRules.ts +590 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1781700000000-AddProxmoxCephV3Columns.ts +64 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +10 -0
- package/Server/Infrastructure/Redis.ts +40 -12
- package/Server/Services/AlertLabelRuleEngineService.ts +29 -0
- package/Server/Services/AlertOwnerRuleEngineService.ts +67 -0
- package/Server/Services/AnalyticsDatabaseService.ts +1 -1
- package/Server/Services/BillingService.ts +109 -21
- package/Server/Services/CephClusterLabelRuleEngineService.ts +200 -0
- package/Server/Services/CephClusterLabelRuleService.ts +14 -0
- package/Server/Services/CephClusterOwnerRuleEngineService.ts +218 -0
- package/Server/Services/CephClusterOwnerRuleService.ts +14 -0
- package/Server/Services/CephClusterOwnerTeamService.ts +10 -0
- package/Server/Services/CephClusterOwnerUserService.ts +10 -0
- package/Server/Services/CephClusterService.ts +401 -0
- package/Server/Services/CephResourceService.ts +383 -0
- package/Server/Services/CloudResourceService.ts +11 -3
- package/Server/Services/DockerHostService.ts +11 -3
- package/Server/Services/DockerSwarmClusterLabelRuleEngineService.ts +214 -0
- package/Server/Services/DockerSwarmClusterLabelRuleService.ts +14 -0
- package/Server/Services/DockerSwarmClusterOwnerRuleEngineService.ts +232 -0
- package/Server/Services/DockerSwarmClusterOwnerRuleService.ts +14 -0
- package/Server/Services/DockerSwarmClusterOwnerTeamService.ts +10 -0
- package/Server/Services/DockerSwarmClusterOwnerUserService.ts +10 -0
- package/Server/Services/DockerSwarmClusterService.ts +404 -0
- package/Server/Services/DockerSwarmResourceService.ts +381 -0
- package/Server/Services/ExceptionAggregationService.ts +3 -0
- package/Server/Services/HostService.ts +11 -3
- package/Server/Services/IncidentLabelRuleEngineService.ts +27 -0
- package/Server/Services/IncidentOwnerRuleEngineService.ts +67 -0
- package/Server/Services/IncidentService.ts +11 -0
- package/Server/Services/Index.ts +38 -0
- package/Server/Services/KubernetesClusterService.ts +11 -3
- package/Server/Services/LogAggregationService.ts +3 -0
- package/Server/Services/MetricAggregationService.ts +3 -0
- package/Server/Services/OpenTelemetryIngestService.ts +73 -0
- package/Server/Services/PodmanHostLabelRuleEngineService.ts +198 -0
- package/Server/Services/PodmanHostLabelRuleService.ts +14 -0
- package/Server/Services/PodmanHostOwnerRuleEngineService.ts +216 -0
- package/Server/Services/PodmanHostOwnerRuleService.ts +14 -0
- package/Server/Services/PodmanHostOwnerTeamService.ts +10 -0
- package/Server/Services/PodmanHostOwnerUserService.ts +10 -0
- package/Server/Services/PodmanHostService.ts +368 -0
- package/Server/Services/PodmanResourceService.ts +310 -0
- package/Server/Services/ProxmoxClusterLabelRuleEngineService.ts +204 -0
- package/Server/Services/ProxmoxClusterLabelRuleService.ts +14 -0
- package/Server/Services/ProxmoxClusterOwnerRuleEngineService.ts +222 -0
- package/Server/Services/ProxmoxClusterOwnerRuleService.ts +14 -0
- package/Server/Services/ProxmoxClusterOwnerTeamService.ts +10 -0
- package/Server/Services/ProxmoxClusterOwnerUserService.ts +10 -0
- package/Server/Services/ProxmoxClusterService.ts +382 -0
- package/Server/Services/ProxmoxResourceService.ts +404 -0
- package/Server/Services/RumApplicationService.ts +11 -3
- package/Server/Services/ScheduledMaintenanceLabelRuleEngineService.ts +29 -0
- package/Server/Services/ScheduledMaintenanceOwnerRuleEngineService.ts +67 -0
- package/Server/Services/ServerlessFunctionService.ts +11 -3
- package/Server/Services/TelemetryUsageBillingService.ts +59 -3
- package/Server/Services/TraceAggregationService.ts +3 -0
- package/Server/Types/AnalyticsDatabase/AggregateBy.ts +8 -23
- package/Server/Types/Database/Permissions/OwnerTableRegistry.ts +13 -0
- package/Server/Utils/Monitor/MonitorAlert.ts +55 -0
- package/Server/Utils/Monitor/MonitorClusterContext.ts +158 -0
- package/Server/Utils/Monitor/MonitorCriteriaEvaluator.ts +650 -4
- package/Server/Utils/Monitor/MonitorIncident.ts +175 -7
- package/Server/Utils/Monitor/MonitorMaintenanceSuppression.ts +56 -6
- package/Server/Utils/Monitor/MonitorTemplateUtil.ts +6 -1
- package/Server/Utils/Monitor/SeriesResourceLabels.ts +59 -0
- package/Server/Utils/Profiling.ts +37 -2
- package/Server/Utils/Telemetry/EntityRegistry.ts +4 -0
- package/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.ts +1096 -0
- package/Server/Utils/Telemetry/ResourceFacetResolver.ts +49 -0
- package/Server/Utils/Telemetry/Telemetry.ts +10 -0
- package/Server/Utils/Telemetry/TelemetryEntity.ts +107 -0
- package/Server/Utils/Telemetry.ts +8 -19
- package/Tests/Server/API/BillingInvoiceAPI.test.ts +194 -0
- package/Tests/Server/API/ProjectAPI.test.ts +91 -0
- package/Tests/Server/API/ResellerPlanAPI.test.ts +207 -0
- package/Tests/Server/Infrastructure/GlobalCache.test.ts +100 -0
- package/Tests/Server/Services/BillingService.test.ts +323 -0
- package/Tests/Server/Services/CephResourceService.test.ts +264 -0
- package/Tests/Server/Services/ProxmoxResourceService.test.ts +326 -0
- package/Tests/Server/Utils/Monitor/MonitorCriteriaEvaluator.test.ts +322 -0
- package/Tests/Server/Utils/Monitor/MonitorMaintenanceSuppression.test.ts +14 -0
- package/Tests/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.test.ts +879 -0
- package/Tests/Server/Utils/Telemetry/TelemetryEntity.test.ts +196 -0
- package/Tests/Types/DockerSwarm/DockerSwarmInventoryExtractor.test.ts +667 -0
- package/Tests/Types/Monitor/CephAlertTemplates.test.ts +1231 -0
- package/Tests/Types/Monitor/DockerSwarmAlertTemplates.test.ts +528 -0
- package/Tests/Types/Monitor/ProxmoxAlertTemplates.test.ts +732 -0
- package/Tests/Utils/Telemetry/EntityRelationship.test.ts +49 -0
- package/Tests/Utils/Telemetry/HeartbeatAvailability.test.ts +423 -0
- package/Types/BaseDatabase/AggregationIntervalUtil.ts +74 -0
- package/Types/Dashboard/DashboardComponentType.ts +11 -0
- package/Types/Dashboard/DashboardComponents/ComponentArgument.ts +4 -0
- package/Types/Dashboard/DashboardComponents/DashboardCephOsdListComponent.ts +15 -0
- package/Types/Dashboard/DashboardComponents/DashboardCephPoolListComponent.ts +14 -0
- package/Types/Dashboard/DashboardComponents/DashboardDockerSwarmNodeListComponent.ts +17 -0
- package/Types/Dashboard/DashboardComponents/DashboardDockerSwarmServiceListComponent.ts +17 -0
- package/Types/Dashboard/DashboardComponents/DashboardPodmanContainerListComponent.ts +16 -0
- package/Types/Dashboard/DashboardComponents/DashboardPodmanHostListComponent.ts +15 -0
- package/Types/Dashboard/DashboardComponents/DashboardPodmanImageListComponent.ts +16 -0
- package/Types/Dashboard/DashboardComponents/DashboardPodmanNetworkListComponent.ts +15 -0
- package/Types/Dashboard/DashboardComponents/DashboardPodmanVolumeListComponent.ts +15 -0
- package/Types/Dashboard/DashboardComponents/DashboardProxmoxGuestListComponent.ts +17 -0
- package/Types/Dashboard/DashboardComponents/DashboardProxmoxNodeListComponent.ts +16 -0
- package/Types/Dashboard/DashboardTemplates.ts +640 -0
- package/Types/DockerSwarm/DockerSwarmInventoryExtractor.ts +452 -0
- package/Types/Icon/IconProp.ts +3 -0
- package/Types/Monitor/CephAlertTemplates.ts +1647 -0
- package/Types/Monitor/CephMetricCatalog.ts +409 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.ts +461 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.ts +139 -0
- package/Types/Monitor/HostAlertTemplates.ts +455 -0
- package/Types/Monitor/HostMetricCatalog.ts +177 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.ts +65 -0
- package/Types/Monitor/MonitorStep.ts +163 -0
- package/Types/Monitor/MonitorStepCephMonitor.ts +57 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.ts +74 -0
- package/Types/Monitor/MonitorStepHostMonitor.ts +30 -0
- package/Types/Monitor/MonitorStepPodmanMonitor.ts +38 -0
- package/Types/Monitor/MonitorStepProxmoxMonitor.ts +81 -0
- package/Types/Monitor/MonitorType.ts +71 -1
- package/Types/Monitor/PodmanAlertTemplates.ts +507 -0
- package/Types/Monitor/PodmanMetricCatalog.ts +226 -0
- package/Types/Monitor/ProxmoxAlertTemplates.ts +899 -0
- package/Types/Monitor/ProxmoxMetricCatalog.ts +382 -0
- package/Types/Permission.ts +1029 -104
- package/Types/Podman/PodmanInventoryExtractor.ts +343 -0
- package/Types/Telemetry/EntityType.ts +23 -0
- package/Types/Telemetry/ServiceType.ts +4 -0
- package/UI/Components/Icon/Icon.tsx +141 -0
- package/UI/Components/LogsViewer/LogsViewer.tsx +44 -1
- package/UI/Components/LogsViewer/components/LogsFacetSidebar.tsx +28 -0
- package/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.ts +15 -5
- package/UI/Utils/Telemetry/Telemetry.ts +16 -21
- package/UI/Utils/TelemetryService.ts +8 -3
- package/Utils/Dashboard/Components/DashboardCephOsdListComponent.ts +63 -0
- package/Utils/Dashboard/Components/DashboardCephPoolListComponent.ts +32 -0
- package/Utils/Dashboard/Components/DashboardCephResourceListShared.ts +61 -0
- package/Utils/Dashboard/Components/DashboardDockerSwarmNodeListComponent.ts +70 -0
- package/Utils/Dashboard/Components/DashboardDockerSwarmResourceListShared.ts +61 -0
- package/Utils/Dashboard/Components/DashboardDockerSwarmServiceListComponent.ts +71 -0
- package/Utils/Dashboard/Components/DashboardPodmanContainerListComponent.ts +100 -0
- package/Utils/Dashboard/Components/DashboardPodmanHostListComponent.ts +88 -0
- package/Utils/Dashboard/Components/DashboardPodmanImageListComponent.ts +97 -0
- package/Utils/Dashboard/Components/DashboardPodmanNetworkListComponent.ts +87 -0
- package/Utils/Dashboard/Components/DashboardPodmanVolumeListComponent.ts +87 -0
- package/Utils/Dashboard/Components/DashboardProxmoxGuestListComponent.ts +69 -0
- package/Utils/Dashboard/Components/DashboardProxmoxNodeListComponent.ts +55 -0
- package/Utils/Dashboard/Components/DashboardProxmoxResourceListShared.ts +61 -0
- package/Utils/Dashboard/Components/Index.ts +79 -0
- package/Utils/Telemetry/EntityKey.ts +53 -0
- package/Utils/Telemetry/EntityRelationship.ts +6 -0
- package/Utils/Telemetry/HeartbeatAvailability.ts +262 -0
- package/build/dist/Models/DatabaseModels/Alert.js +270 -0
- package/build/dist/Models/DatabaseModels/Alert.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertLabelRule.js +39 -0
- package/build/dist/Models/DatabaseModels/AlertLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertOwnerRule.js +39 -0
- package/build/dist/Models/DatabaseModels/AlertOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/CephCluster.js +992 -0
- package/build/dist/Models/DatabaseModels/CephCluster.js.map +1 -0
- package/build/dist/Models/DatabaseModels/CephClusterLabelRule.js +522 -0
- package/build/dist/Models/DatabaseModels/CephClusterLabelRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/CephClusterOwnerRule.js +603 -0
- package/build/dist/Models/DatabaseModels/CephClusterOwnerRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/CephClusterOwnerTeam.js +503 -0
- package/build/dist/Models/DatabaseModels/CephClusterOwnerTeam.js.map +1 -0
- package/build/dist/Models/DatabaseModels/CephClusterOwnerUser.js +502 -0
- package/build/dist/Models/DatabaseModels/CephClusterOwnerUser.js.map +1 -0
- package/build/dist/Models/DatabaseModels/CephResource.js +846 -0
- package/build/dist/Models/DatabaseModels/CephResource.js.map +1 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmCluster.js +1018 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmCluster.js.map +1 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterLabelRule.js +522 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterLabelRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerRule.js +603 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerTeam.js +503 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerTeam.js.map +1 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerUser.js +502 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmClusterOwnerUser.js.map +1 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmResource.js +787 -0
- package/build/dist/Models/DatabaseModels/DockerSwarmResource.js.map +1 -0
- package/build/dist/Models/DatabaseModels/Host.js +63 -0
- package/build/dist/Models/DatabaseModels/Host.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Incident.js +270 -0
- package/build/dist/Models/DatabaseModels/Incident.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentLabelRule.js +39 -0
- package/build/dist/Models/DatabaseModels/IncidentLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentOwnerRule.js +39 -0
- package/build/dist/Models/DatabaseModels/IncidentOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentTemplate.js +54 -0
- package/build/dist/Models/DatabaseModels/IncidentTemplate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Index.js +48 -0
- package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
- package/build/dist/Models/DatabaseModels/PodmanHost.js +885 -0
- package/build/dist/Models/DatabaseModels/PodmanHost.js.map +1 -0
- package/build/dist/Models/DatabaseModels/PodmanHostLabelRule.js +522 -0
- package/build/dist/Models/DatabaseModels/PodmanHostLabelRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/PodmanHostOwnerRule.js +603 -0
- package/build/dist/Models/DatabaseModels/PodmanHostOwnerRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/PodmanHostOwnerTeam.js +503 -0
- package/build/dist/Models/DatabaseModels/PodmanHostOwnerTeam.js.map +1 -0
- package/build/dist/Models/DatabaseModels/PodmanHostOwnerUser.js +502 -0
- package/build/dist/Models/DatabaseModels/PodmanHostOwnerUser.js.map +1 -0
- package/build/dist/Models/DatabaseModels/PodmanResource.js +526 -0
- package/build/dist/Models/DatabaseModels/PodmanResource.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ProxmoxCluster.js +967 -0
- package/build/dist/Models/DatabaseModels/ProxmoxCluster.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterLabelRule.js +522 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterLabelRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerRule.js +603 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerTeam.js +503 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerTeam.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerUser.js +502 -0
- package/build/dist/Models/DatabaseModels/ProxmoxClusterOwnerUser.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ProxmoxResource.js +761 -0
- package/build/dist/Models/DatabaseModels/ProxmoxResource.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenance.js +216 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenance.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceLabelRule.js +39 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceLabelRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.js +39 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +54 -0
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceTemplate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TelemetryException.js +2 -0
- package/build/dist/Models/DatabaseModels/TelemetryException.js.map +1 -1
- package/build/dist/Server/API/BillingInvoiceAPI.js +35 -5
- package/build/dist/Server/API/BillingInvoiceAPI.js.map +1 -1
- package/build/dist/Server/API/CephResourceAPI.js +98 -0
- package/build/dist/Server/API/CephResourceAPI.js.map +1 -0
- package/build/dist/Server/API/DashboardAPI.js +135 -0
- package/build/dist/Server/API/DashboardAPI.js.map +1 -1
- package/build/dist/Server/API/DockerSwarmResourceAPI.js +100 -0
- package/build/dist/Server/API/DockerSwarmResourceAPI.js.map +1 -0
- package/build/dist/Server/API/ProjectAPI.js +11 -0
- package/build/dist/Server/API/ProjectAPI.js.map +1 -1
- package/build/dist/Server/API/ProxmoxResourceAPI.js +95 -0
- package/build/dist/Server/API/ProxmoxResourceAPI.js.map +1 -0
- package/build/dist/Server/API/ResellerPlanAPI.js +17 -3
- package/build/dist/Server/API/ResellerPlanAPI.js.map +1 -1
- package/build/dist/Server/API/TelemetryAPI.js +8 -1
- package/build/dist/Server/API/TelemetryAPI.js.map +1 -1
- package/build/dist/Server/Infrastructure/GlobalCache.js +7 -2
- package/build/dist/Server/Infrastructure/GlobalCache.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781500000000-AddProxmoxAndCephClusterTables.js +76 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781500000000-AddProxmoxAndCephClusterTables.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781587937032-MigrationName.js +1100 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781587937032-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000000-AddProxmoxCephV2Columns.js +108 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000000-AddProxmoxCephV2Columns.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000001-AddProxmoxCephActivityAndRules.js +253 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781600000001-AddProxmoxCephActivityAndRules.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781700000000-AddProxmoxCephV3Columns.js +43 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781700000000-AddProxmoxCephV3Columns.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +10 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
- package/build/dist/Server/Infrastructure/Redis.js +31 -8
- package/build/dist/Server/Infrastructure/Redis.js.map +1 -1
- package/build/dist/Server/Services/AlertLabelRuleEngineService.js +30 -4
- package/build/dist/Server/Services/AlertLabelRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/AlertOwnerRuleEngineService.js +62 -5
- package/build/dist/Server/Services/AlertOwnerRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/AnalyticsDatabaseService.js +1 -1
- package/build/dist/Server/Services/AnalyticsDatabaseService.js.map +1 -1
- package/build/dist/Server/Services/BillingService.js +85 -23
- package/build/dist/Server/Services/BillingService.js.map +1 -1
- package/build/dist/Server/Services/CephClusterLabelRuleEngineService.js +166 -0
- package/build/dist/Server/Services/CephClusterLabelRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/CephClusterLabelRuleService.js +13 -0
- package/build/dist/Server/Services/CephClusterLabelRuleService.js.map +1 -0
- package/build/dist/Server/Services/CephClusterOwnerRuleEngineService.js +186 -0
- package/build/dist/Server/Services/CephClusterOwnerRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/CephClusterOwnerRuleService.js +13 -0
- package/build/dist/Server/Services/CephClusterOwnerRuleService.js.map +1 -0
- package/build/dist/Server/Services/CephClusterOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/CephClusterOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/CephClusterOwnerUserService.js +9 -0
- package/build/dist/Server/Services/CephClusterOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/CephClusterService.js +353 -0
- package/build/dist/Server/Services/CephClusterService.js.map +1 -0
- package/build/dist/Server/Services/CephResourceService.js +257 -0
- package/build/dist/Server/Services/CephResourceService.js.map +1 -0
- package/build/dist/Server/Services/CloudResourceService.js +10 -2
- package/build/dist/Server/Services/CloudResourceService.js.map +1 -1
- package/build/dist/Server/Services/DockerHostService.js +10 -2
- package/build/dist/Server/Services/DockerHostService.js.map +1 -1
- package/build/dist/Server/Services/DockerSwarmClusterLabelRuleEngineService.js +168 -0
- package/build/dist/Server/Services/DockerSwarmClusterLabelRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/DockerSwarmClusterLabelRuleService.js +13 -0
- package/build/dist/Server/Services/DockerSwarmClusterLabelRuleService.js.map +1 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleEngineService.js +188 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleService.js +13 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerRuleService.js.map +1 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerUserService.js +9 -0
- package/build/dist/Server/Services/DockerSwarmClusterOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/DockerSwarmClusterService.js +353 -0
- package/build/dist/Server/Services/DockerSwarmClusterService.js.map +1 -0
- package/build/dist/Server/Services/DockerSwarmResourceService.js +258 -0
- package/build/dist/Server/Services/DockerSwarmResourceService.js.map +1 -0
- package/build/dist/Server/Services/ExceptionAggregationService.js +3 -0
- package/build/dist/Server/Services/ExceptionAggregationService.js.map +1 -1
- package/build/dist/Server/Services/HostService.js +10 -2
- package/build/dist/Server/Services/HostService.js.map +1 -1
- package/build/dist/Server/Services/IncidentLabelRuleEngineService.js +28 -4
- package/build/dist/Server/Services/IncidentLabelRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/IncidentOwnerRuleEngineService.js +62 -5
- package/build/dist/Server/Services/IncidentOwnerRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/IncidentService.js +8 -0
- package/build/dist/Server/Services/IncidentService.js.map +1 -1
- package/build/dist/Server/Services/Index.js +38 -0
- package/build/dist/Server/Services/Index.js.map +1 -1
- package/build/dist/Server/Services/KubernetesClusterService.js +10 -2
- package/build/dist/Server/Services/KubernetesClusterService.js.map +1 -1
- package/build/dist/Server/Services/LogAggregationService.js +3 -0
- package/build/dist/Server/Services/LogAggregationService.js.map +1 -1
- package/build/dist/Server/Services/MetricAggregationService.js +3 -0
- package/build/dist/Server/Services/MetricAggregationService.js.map +1 -1
- package/build/dist/Server/Services/OpenTelemetryIngestService.js +69 -9
- package/build/dist/Server/Services/OpenTelemetryIngestService.js.map +1 -1
- package/build/dist/Server/Services/PodmanHostLabelRuleEngineService.js +166 -0
- package/build/dist/Server/Services/PodmanHostLabelRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/PodmanHostLabelRuleService.js +13 -0
- package/build/dist/Server/Services/PodmanHostLabelRuleService.js.map +1 -0
- package/build/dist/Server/Services/PodmanHostOwnerRuleEngineService.js +186 -0
- package/build/dist/Server/Services/PodmanHostOwnerRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/PodmanHostOwnerRuleService.js +13 -0
- package/build/dist/Server/Services/PodmanHostOwnerRuleService.js.map +1 -0
- package/build/dist/Server/Services/PodmanHostOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/PodmanHostOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/PodmanHostOwnerUserService.js +9 -0
- package/build/dist/Server/Services/PodmanHostOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/PodmanHostService.js +319 -0
- package/build/dist/Server/Services/PodmanHostService.js.map +1 -0
- package/build/dist/Server/Services/PodmanResourceService.js +196 -0
- package/build/dist/Server/Services/PodmanResourceService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxClusterLabelRuleEngineService.js +166 -0
- package/build/dist/Server/Services/ProxmoxClusterLabelRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxClusterLabelRuleService.js +13 -0
- package/build/dist/Server/Services/ProxmoxClusterLabelRuleService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerRuleEngineService.js +186 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerRuleService.js +13 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerRuleService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerUserService.js +9 -0
- package/build/dist/Server/Services/ProxmoxClusterOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxClusterService.js +337 -0
- package/build/dist/Server/Services/ProxmoxClusterService.js.map +1 -0
- package/build/dist/Server/Services/ProxmoxResourceService.js +285 -0
- package/build/dist/Server/Services/ProxmoxResourceService.js.map +1 -0
- package/build/dist/Server/Services/RumApplicationService.js +10 -2
- package/build/dist/Server/Services/RumApplicationService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceLabelRuleEngineService.js +30 -4
- package/build/dist/Server/Services/ScheduledMaintenanceLabelRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerRuleEngineService.js +62 -5
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/ServerlessFunctionService.js +10 -2
- package/build/dist/Server/Services/ServerlessFunctionService.js.map +1 -1
- package/build/dist/Server/Services/TelemetryUsageBillingService.js +43 -3
- package/build/dist/Server/Services/TelemetryUsageBillingService.js.map +1 -1
- package/build/dist/Server/Services/TraceAggregationService.js +3 -0
- package/build/dist/Server/Services/TraceAggregationService.js.map +1 -1
- package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js +8 -25
- package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/OwnerTableRegistry.js +13 -0
- package/build/dist/Server/Types/Database/Permissions/OwnerTableRegistry.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorAlert.js +44 -0
- package/build/dist/Server/Utils/Monitor/MonitorAlert.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorClusterContext.js +118 -0
- package/build/dist/Server/Utils/Monitor/MonitorClusterContext.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js +422 -4
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorIncident.js +137 -8
- package/build/dist/Server/Utils/Monitor/MonitorIncident.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorMaintenanceSuppression.js +32 -6
- package/build/dist/Server/Utils/Monitor/MonitorMaintenanceSuppression.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorTemplateUtil.js +6 -1
- package/build/dist/Server/Utils/Monitor/MonitorTemplateUtil.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/SeriesResourceLabels.js +39 -0
- package/build/dist/Server/Utils/Monitor/SeriesResourceLabels.js.map +1 -1
- package/build/dist/Server/Utils/Profiling.js +24 -3
- package/build/dist/Server/Utils/Profiling.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry/EntityRegistry.js +4 -0
- package/build/dist/Server/Utils/Telemetry/EntityRegistry.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.js +854 -0
- package/build/dist/Server/Utils/Telemetry/ProxmoxCephSnapshotScan.js.map +1 -0
- package/build/dist/Server/Utils/Telemetry/ResourceFacetResolver.js +30 -0
- package/build/dist/Server/Utils/Telemetry/ResourceFacetResolver.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry/Telemetry.js +6 -0
- package/build/dist/Server/Utils/Telemetry/Telemetry.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry/TelemetryEntity.js +80 -0
- package/build/dist/Server/Utils/Telemetry/TelemetryEntity.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry.js +8 -10
- package/build/dist/Server/Utils/Telemetry.js.map +1 -1
- package/build/dist/Types/BaseDatabase/AggregationIntervalUtil.js +69 -0
- package/build/dist/Types/BaseDatabase/AggregationIntervalUtil.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponentType.js +11 -0
- package/build/dist/Types/Dashboard/DashboardComponentType.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js +4 -0
- package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephOsdListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephOsdListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephPoolListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardCephPoolListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmNodeListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmNodeListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmServiceListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardDockerSwarmServiceListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanContainerListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanContainerListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanHostListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanHostListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanImageListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanImageListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanNetworkListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanNetworkListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanVolumeListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardPodmanVolumeListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxGuestListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxGuestListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxNodeListComponent.js +2 -0
- package/build/dist/Types/Dashboard/DashboardComponents/DashboardProxmoxNodeListComponent.js.map +1 -0
- package/build/dist/Types/Dashboard/DashboardTemplates.js +562 -0
- package/build/dist/Types/Dashboard/DashboardTemplates.js.map +1 -1
- package/build/dist/Types/DockerSwarm/DockerSwarmInventoryExtractor.js +359 -0
- package/build/dist/Types/DockerSwarm/DockerSwarmInventoryExtractor.js.map +1 -0
- package/build/dist/Types/Icon/IconProp.js +3 -0
- package/build/dist/Types/Icon/IconProp.js.map +1 -1
- package/build/dist/Types/Monitor/CephAlertTemplates.js +1379 -0
- package/build/dist/Types/Monitor/CephAlertTemplates.js.map +1 -0
- package/build/dist/Types/Monitor/CephMetricCatalog.js +353 -0
- package/build/dist/Types/Monitor/CephMetricCatalog.js.map +1 -0
- package/build/dist/Types/Monitor/DockerSwarmAlertTemplates.js +358 -0
- package/build/dist/Types/Monitor/DockerSwarmAlertTemplates.js.map +1 -0
- package/build/dist/Types/Monitor/DockerSwarmMetricCatalog.js +103 -0
- package/build/dist/Types/Monitor/DockerSwarmMetricCatalog.js.map +1 -0
- package/build/dist/Types/Monitor/HostAlertTemplates.js +365 -0
- package/build/dist/Types/Monitor/HostAlertTemplates.js.map +1 -0
- package/build/dist/Types/Monitor/HostMetricCatalog.js +138 -0
- package/build/dist/Types/Monitor/HostMetricCatalog.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorStep.js +115 -0
- package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStepCephMonitor.js +34 -0
- package/build/dist/Types/Monitor/MonitorStepCephMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorStepDockerSwarmMonitor.js +21 -0
- package/build/dist/Types/Monitor/MonitorStepDockerSwarmMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorStepHostMonitor.js +20 -0
- package/build/dist/Types/Monitor/MonitorStepHostMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorStepPodmanMonitor.js +21 -0
- package/build/dist/Types/Monitor/MonitorStepPodmanMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorStepProxmoxMonitor.js +36 -0
- package/build/dist/Types/Monitor/MonitorStepProxmoxMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorType.js +66 -1
- package/build/dist/Types/Monitor/MonitorType.js.map +1 -1
- package/build/dist/Types/Monitor/PodmanAlertTemplates.js +410 -0
- package/build/dist/Types/Monitor/PodmanAlertTemplates.js.map +1 -0
- package/build/dist/Types/Monitor/PodmanMetricCatalog.js +192 -0
- package/build/dist/Types/Monitor/PodmanMetricCatalog.js.map +1 -0
- package/build/dist/Types/Monitor/ProxmoxAlertTemplates.js +743 -0
- package/build/dist/Types/Monitor/ProxmoxAlertTemplates.js.map +1 -0
- package/build/dist/Types/Monitor/ProxmoxMetricCatalog.js +320 -0
- package/build/dist/Types/Monitor/ProxmoxMetricCatalog.js.map +1 -0
- package/build/dist/Types/Permission.js +824 -0
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/Types/Podman/PodmanInventoryExtractor.js +293 -0
- package/build/dist/Types/Podman/PodmanInventoryExtractor.js.map +1 -0
- package/build/dist/Types/Telemetry/EntityType.js +23 -0
- package/build/dist/Types/Telemetry/EntityType.js.map +1 -1
- package/build/dist/Types/Telemetry/ServiceType.js +4 -0
- package/build/dist/Types/Telemetry/ServiceType.js.map +1 -1
- package/build/dist/UI/Components/Icon/Icon.js +49 -0
- package/build/dist/UI/Components/Icon/Icon.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/LogsViewer.js +30 -2
- package/build/dist/UI/Components/LogsViewer/LogsViewer.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js +22 -0
- package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js.map +1 -1
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js +11 -1
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js.map +1 -1
- package/build/dist/UI/Utils/Telemetry/Telemetry.js +11 -10
- package/build/dist/UI/Utils/Telemetry/Telemetry.js.map +1 -1
- package/build/dist/UI/Utils/TelemetryService.js +6 -2
- package/build/dist/UI/Utils/TelemetryService.js.map +1 -1
- package/build/dist/Utils/Dashboard/Components/DashboardCephOsdListComponent.js +50 -0
- package/build/dist/Utils/Dashboard/Components/DashboardCephOsdListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardCephPoolListComponent.js +27 -0
- package/build/dist/Utils/Dashboard/Components/DashboardCephPoolListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardCephResourceListShared.js +46 -0
- package/build/dist/Utils/Dashboard/Components/DashboardCephResourceListShared.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmNodeListComponent.js +55 -0
- package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmNodeListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmResourceListShared.js +46 -0
- package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmResourceListShared.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmServiceListComponent.js +55 -0
- package/build/dist/Utils/Dashboard/Components/DashboardDockerSwarmServiceListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanContainerListComponent.js +77 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanContainerListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanHostListComponent.js +71 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanHostListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanImageListComponent.js +77 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanImageListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanNetworkListComponent.js +68 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanNetworkListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanVolumeListComponent.js +68 -0
- package/build/dist/Utils/Dashboard/Components/DashboardPodmanVolumeListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardProxmoxGuestListComponent.js +55 -0
- package/build/dist/Utils/Dashboard/Components/DashboardProxmoxGuestListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardProxmoxNodeListComponent.js +42 -0
- package/build/dist/Utils/Dashboard/Components/DashboardProxmoxNodeListComponent.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/DashboardProxmoxResourceListShared.js +46 -0
- package/build/dist/Utils/Dashboard/Components/DashboardProxmoxResourceListShared.js.map +1 -0
- package/build/dist/Utils/Dashboard/Components/Index.js +44 -0
- package/build/dist/Utils/Dashboard/Components/Index.js.map +1 -1
- package/build/dist/Utils/Telemetry/EntityKey.js +41 -0
- package/build/dist/Utils/Telemetry/EntityKey.js.map +1 -1
- package/build/dist/Utils/Telemetry/EntityRelationship.js +3 -0
- package/build/dist/Utils/Telemetry/EntityRelationship.js.map +1 -1
- package/build/dist/Utils/Telemetry/HeartbeatAvailability.js +174 -0
- package/build/dist/Utils/Telemetry/HeartbeatAvailability.js.map +1 -0
- package/package.json +29 -21
package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781587937032-MigrationName.js
ADDED
|
@@ -0,0 +1,1100 @@
|
|
|
1
|
+
export class MigrationName1781587937032 {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.name = "MigrationName1781587937032";
|
|
4
|
+
}
|
|
5
|
+
async up(queryRunner) {
|
|
6
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" DROP CONSTRAINT "FK_ceph_cluster_projectId"`);
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" DROP CONSTRAINT "FK_ceph_cluster_createdByUserId"`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" DROP CONSTRAINT "FK_ceph_cluster_deletedByUserId"`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_proxmox_cluster_projectId"`);
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_proxmox_cluster_createdByUserId"`);
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_proxmox_cluster_deletedByUserId"`);
|
|
12
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_proxmox_cluster_cephClusterId"`);
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_proxmox_cluster_owner_team_projectId"`);
|
|
14
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_proxmox_cluster_owner_team_teamId"`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_proxmox_cluster_owner_team_proxmoxClusterId"`);
|
|
16
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_proxmox_cluster_owner_team_createdByUserId"`);
|
|
17
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_proxmox_cluster_owner_team_deletedByUserId"`);
|
|
18
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_proxmox_cluster_owner_user_projectId"`);
|
|
19
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_proxmox_cluster_owner_user_userId"`);
|
|
20
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_proxmox_cluster_owner_user_proxmoxClusterId"`);
|
|
21
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_proxmox_cluster_owner_user_createdByUserId"`);
|
|
22
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_proxmox_cluster_owner_user_deletedByUserId"`);
|
|
23
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_proxmox_resource_projectId"`);
|
|
24
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_proxmox_resource_proxmoxClusterId"`);
|
|
25
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_proxmox_resource_createdByUserId"`);
|
|
26
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_proxmox_resource_deletedByUserId"`);
|
|
27
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_ceph_cluster_owner_team_projectId"`);
|
|
28
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_ceph_cluster_owner_team_teamId"`);
|
|
29
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_ceph_cluster_owner_team_cephClusterId"`);
|
|
30
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_ceph_cluster_owner_team_createdByUserId"`);
|
|
31
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_ceph_cluster_owner_team_deletedByUserId"`);
|
|
32
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_ceph_cluster_owner_user_projectId"`);
|
|
33
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_ceph_cluster_owner_user_userId"`);
|
|
34
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_ceph_cluster_owner_user_cephClusterId"`);
|
|
35
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_ceph_cluster_owner_user_createdByUserId"`);
|
|
36
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_ceph_cluster_owner_user_deletedByUserId"`);
|
|
37
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_ceph_resource_projectId"`);
|
|
38
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_ceph_resource_cephClusterId"`);
|
|
39
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_ceph_resource_createdByUserId"`);
|
|
40
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_ceph_resource_deletedByUserId"`);
|
|
41
|
+
await queryRunner.query(`ALTER TABLE "Host" DROP CONSTRAINT "FK_host_proxmoxClusterId"`);
|
|
42
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntity" DROP CONSTRAINT "FK_TelemetryEntity_project"`);
|
|
43
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntity" DROP CONSTRAINT "FK_TelemetryEntity_createdBy"`);
|
|
44
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntity" DROP CONSTRAINT "FK_TelemetryEntity_deletedBy"`);
|
|
45
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntityRelationship" DROP CONSTRAINT "FK_TelEntityRel_project"`);
|
|
46
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntityRelationship" DROP CONSTRAINT "FK_TelEntityRel_createdBy"`);
|
|
47
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntityRelationship" DROP CONSTRAINT "FK_TelEntityRel_deletedBy"`);
|
|
48
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" DROP CONSTRAINT "FK_proxmox_cluster_owner_rule_projectId"`);
|
|
49
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" DROP CONSTRAINT "FK_proxmox_cluster_owner_rule_createdByUserId"`);
|
|
50
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" DROP CONSTRAINT "FK_proxmox_cluster_owner_rule_deletedByUserId"`);
|
|
51
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" DROP CONSTRAINT "FK_proxmox_cluster_label_rule_projectId"`);
|
|
52
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" DROP CONSTRAINT "FK_proxmox_cluster_label_rule_createdByUserId"`);
|
|
53
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" DROP CONSTRAINT "FK_proxmox_cluster_label_rule_deletedByUserId"`);
|
|
54
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" DROP CONSTRAINT "FK_ceph_cluster_owner_rule_projectId"`);
|
|
55
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" DROP CONSTRAINT "FK_ceph_cluster_owner_rule_createdByUserId"`);
|
|
56
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" DROP CONSTRAINT "FK_ceph_cluster_owner_rule_deletedByUserId"`);
|
|
57
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" DROP CONSTRAINT "FK_ceph_cluster_label_rule_projectId"`);
|
|
58
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" DROP CONSTRAINT "FK_ceph_cluster_label_rule_createdByUserId"`);
|
|
59
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" DROP CONSTRAINT "FK_ceph_cluster_label_rule_deletedByUserId"`);
|
|
60
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" DROP CONSTRAINT "FK_ceph_cluster_label_cephClusterId"`);
|
|
61
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" DROP CONSTRAINT "FK_ceph_cluster_label_labelId"`);
|
|
62
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" DROP CONSTRAINT "FK_proxmox_cluster_label_proxmoxClusterId"`);
|
|
63
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" DROP CONSTRAINT "FK_proxmox_cluster_label_labelId"`);
|
|
64
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" DROP CONSTRAINT "FK_incident_proxmox_cluster_incidentId"`);
|
|
65
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" DROP CONSTRAINT "FK_incident_proxmox_cluster_proxmoxClusterId"`);
|
|
66
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" DROP CONSTRAINT "FK_incident_ceph_cluster_incidentId"`);
|
|
67
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" DROP CONSTRAINT "FK_incident_ceph_cluster_cephClusterId"`);
|
|
68
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" DROP CONSTRAINT "FK_alert_proxmox_cluster_alertId"`);
|
|
69
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" DROP CONSTRAINT "FK_alert_proxmox_cluster_proxmoxClusterId"`);
|
|
70
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" DROP CONSTRAINT "FK_alert_ceph_cluster_alertId"`);
|
|
71
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" DROP CONSTRAINT "FK_alert_ceph_cluster_cephClusterId"`);
|
|
72
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" DROP CONSTRAINT "FK_sm_proxmox_cluster_scheduledMaintenanceId"`);
|
|
73
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" DROP CONSTRAINT "FK_sm_proxmox_cluster_proxmoxClusterId"`);
|
|
74
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" DROP CONSTRAINT "FK_sm_ceph_cluster_scheduledMaintenanceId"`);
|
|
75
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" DROP CONSTRAINT "FK_sm_ceph_cluster_cephClusterId"`);
|
|
76
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_pcor_cluster_label_ruleId"`);
|
|
77
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_pcor_cluster_label_labelId"`);
|
|
78
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_pcor_owner_user_ruleId"`);
|
|
79
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_pcor_owner_user_userId"`);
|
|
80
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_pcor_owner_team_ruleId"`);
|
|
81
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_pcor_owner_team_teamId"`);
|
|
82
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_pclr_cluster_label_ruleId"`);
|
|
83
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_pclr_cluster_label_labelId"`);
|
|
84
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_pclr_label_to_add_ruleId"`);
|
|
85
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_pclr_label_to_add_labelId"`);
|
|
86
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" DROP CONSTRAINT "FK_ccor_cluster_label_ruleId"`);
|
|
87
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" DROP CONSTRAINT "FK_ccor_cluster_label_labelId"`);
|
|
88
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_ccor_owner_user_ruleId"`);
|
|
89
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_ccor_owner_user_userId"`);
|
|
90
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_ccor_owner_team_ruleId"`);
|
|
91
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_ccor_owner_team_teamId"`);
|
|
92
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" DROP CONSTRAINT "FK_cclr_cluster_label_ruleId"`);
|
|
93
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" DROP CONSTRAINT "FK_cclr_cluster_label_labelId"`);
|
|
94
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_cclr_label_to_add_ruleId"`);
|
|
95
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_cclr_label_to_add_labelId"`);
|
|
96
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_projectId"`);
|
|
97
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_name"`);
|
|
98
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_slug"`);
|
|
99
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_projectId_name"`);
|
|
100
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_projectId"`);
|
|
101
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_name"`);
|
|
102
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_slug"`);
|
|
103
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_projectId_name"`);
|
|
104
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_team_projectId"`);
|
|
105
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_team_teamId"`);
|
|
106
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_team_proxmoxClusterId"`);
|
|
107
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_team_isOwnerNotified"`);
|
|
108
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_user_projectId"`);
|
|
109
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_user_userId"`);
|
|
110
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_user_proxmoxClusterId"`);
|
|
111
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_user_isOwnerNotified"`);
|
|
112
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_resource_projectId"`);
|
|
113
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_resource_proxmoxClusterId"`);
|
|
114
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_resource_identity"`);
|
|
115
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_team_projectId"`);
|
|
116
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_team_teamId"`);
|
|
117
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_team_cephClusterId"`);
|
|
118
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_team_isOwnerNotified"`);
|
|
119
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_user_projectId"`);
|
|
120
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_user_userId"`);
|
|
121
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_user_cephClusterId"`);
|
|
122
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_user_isOwnerNotified"`);
|
|
123
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_resource_projectId"`);
|
|
124
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_resource_cephClusterId"`);
|
|
125
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_resource_identity"`);
|
|
126
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_rule_projectId"`);
|
|
127
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_rule_name"`);
|
|
128
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_owner_rule_isEnabled"`);
|
|
129
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_label_rule_projectId"`);
|
|
130
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_label_rule_name"`);
|
|
131
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_label_rule_isEnabled"`);
|
|
132
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_rule_projectId"`);
|
|
133
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_rule_name"`);
|
|
134
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_owner_rule_isEnabled"`);
|
|
135
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_label_rule_projectId"`);
|
|
136
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_label_rule_name"`);
|
|
137
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_label_rule_isEnabled"`);
|
|
138
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_label_cephClusterId"`);
|
|
139
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ceph_cluster_label_labelId"`);
|
|
140
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_label_proxmoxClusterId"`);
|
|
141
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_proxmox_cluster_label_labelId"`);
|
|
142
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_incident_proxmox_cluster_incidentId"`);
|
|
143
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_incident_proxmox_cluster_proxmoxClusterId"`);
|
|
144
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_incident_ceph_cluster_incidentId"`);
|
|
145
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_incident_ceph_cluster_cephClusterId"`);
|
|
146
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_alert_proxmox_cluster_alertId"`);
|
|
147
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_alert_proxmox_cluster_proxmoxClusterId"`);
|
|
148
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_alert_ceph_cluster_alertId"`);
|
|
149
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_alert_ceph_cluster_cephClusterId"`);
|
|
150
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_sm_proxmox_cluster_scheduledMaintenanceId"`);
|
|
151
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_sm_proxmox_cluster_proxmoxClusterId"`);
|
|
152
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_sm_ceph_cluster_scheduledMaintenanceId"`);
|
|
153
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_sm_ceph_cluster_cephClusterId"`);
|
|
154
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pcor_cluster_label_ruleId"`);
|
|
155
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pcor_cluster_label_labelId"`);
|
|
156
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pcor_owner_user_ruleId"`);
|
|
157
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pcor_owner_user_userId"`);
|
|
158
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pcor_owner_team_ruleId"`);
|
|
159
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pcor_owner_team_teamId"`);
|
|
160
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pclr_cluster_label_ruleId"`);
|
|
161
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pclr_cluster_label_labelId"`);
|
|
162
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pclr_label_to_add_ruleId"`);
|
|
163
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_pclr_label_to_add_labelId"`);
|
|
164
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ccor_cluster_label_ruleId"`);
|
|
165
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ccor_cluster_label_labelId"`);
|
|
166
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ccor_owner_user_ruleId"`);
|
|
167
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ccor_owner_user_userId"`);
|
|
168
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ccor_owner_team_ruleId"`);
|
|
169
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ccor_owner_team_teamId"`);
|
|
170
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_cclr_cluster_label_ruleId"`);
|
|
171
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_cclr_cluster_label_labelId"`);
|
|
172
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_cclr_label_to_add_ruleId"`);
|
|
173
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_cclr_label_to_add_labelId"`);
|
|
174
|
+
await queryRunner.query(`CREATE TABLE "PodmanHost" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "name" character varying(100) NOT NULL, "slug" character varying(100) NOT NULL, "description" character varying(500), "hostIdentifier" character varying(100) NOT NULL, "otelCollectorStatus" character varying(100) DEFAULT 'disconnected', "agentVersion" character varying(100), "lastSeenAt" TIMESTAMP WITH TIME ZONE, "containersRunning" integer DEFAULT '0', "containersStopped" integer DEFAULT '0', "containersPaused" integer DEFAULT '0', "osType" character varying(100), "osVersion" character varying(500), "createdByUserId" uuid, "deletedByUserId" uuid, "retainTelemetryDataForDays" integer, "telemetryRetentionConfig" jsonb, CONSTRAINT "PK_9e10160b7d22b5f58bb531d03c8" PRIMARY KEY ("_id"))`);
|
|
175
|
+
await queryRunner.query(`CREATE INDEX "IDX_800ec09eb585cdb5e4c643ef51" ON "PodmanHost" ("projectId") `);
|
|
176
|
+
await queryRunner.query(`CREATE INDEX "IDX_36e1b7bb9d9756649579d38eb5" ON "PodmanHost" ("hostIdentifier") `);
|
|
177
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostOwnerTeam" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "teamId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, "createdByUserId" uuid, "deletedByUserId" uuid, "isOwnerNotified" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_2fd67dc9518e20edfa23611665d" PRIMARY KEY ("_id"))`);
|
|
178
|
+
await queryRunner.query(`CREATE INDEX "IDX_76c44007c314e08a38f281c2a2" ON "PodmanHostOwnerTeam" ("projectId") `);
|
|
179
|
+
await queryRunner.query(`CREATE INDEX "IDX_4a26aefc1de15f94048ef3b45c" ON "PodmanHostOwnerTeam" ("teamId") `);
|
|
180
|
+
await queryRunner.query(`CREATE INDEX "IDX_9621e9bcc51de9020a80cbc2a3" ON "PodmanHostOwnerTeam" ("podmanHostId") `);
|
|
181
|
+
await queryRunner.query(`CREATE INDEX "IDX_e1da42006705c332a4bcc96202" ON "PodmanHostOwnerTeam" ("isOwnerNotified") `);
|
|
182
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostOwnerUser" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "userId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, "createdByUserId" uuid, "deletedByUserId" uuid, "isOwnerNotified" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_33cc660dd0969f4b5940296bd46" PRIMARY KEY ("_id"))`);
|
|
183
|
+
await queryRunner.query(`CREATE INDEX "IDX_ea369857823e55e8c21a27a3b7" ON "PodmanHostOwnerUser" ("projectId") `);
|
|
184
|
+
await queryRunner.query(`CREATE INDEX "IDX_2cecebbab6116b69a956486662" ON "PodmanHostOwnerUser" ("userId") `);
|
|
185
|
+
await queryRunner.query(`CREATE INDEX "IDX_6cd03329fe875288a708b233b4" ON "PodmanHostOwnerUser" ("podmanHostId") `);
|
|
186
|
+
await queryRunner.query(`CREATE INDEX "IDX_a737253768cdb2e73a9987ce3b" ON "PodmanHostOwnerUser" ("isOwnerNotified") `);
|
|
187
|
+
await queryRunner.query(`CREATE TABLE "PodmanResource" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, "kind" character varying(100) NOT NULL, "name" character varying(100) NOT NULL, "containerId" character varying(100), "imageName" character varying(100), "state" character varying(100), "labels" jsonb, "latestCpuPercent" numeric, "latestMemoryBytes" bigint, "metricsUpdatedAt" TIMESTAMP WITH TIME ZONE, "lastSeenAt" TIMESTAMP WITH TIME ZONE NOT NULL, "resourceCreationTimestamp" TIMESTAMP WITH TIME ZONE, "createdByUserId" uuid, "deletedByUserId" uuid, CONSTRAINT "PK_51c55188bba709827354470cc9b" PRIMARY KEY ("_id"))`);
|
|
188
|
+
await queryRunner.query(`CREATE INDEX "IDX_7e634b27917c3b9e8097825843" ON "PodmanResource" ("projectId") `);
|
|
189
|
+
await queryRunner.query(`CREATE INDEX "IDX_bed5c2772bfe0c0e830c3532b7" ON "PodmanResource" ("podmanHostId") `);
|
|
190
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_772c02b6419beb57fa47ccae1b" ON "PodmanResource" ("projectId", "podmanHostId", "kind", "name") `);
|
|
191
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmCluster" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "name" character varying(100) NOT NULL, "slug" character varying(100) NOT NULL, "description" character varying(500), "otelCollectorStatus" character varying(100) DEFAULT 'disconnected', "agentVersion" character varying(100), "dockerVersion" character varying(500), "lastSeenAt" TIMESTAMP WITH TIME ZONE, "nodeCount" integer DEFAULT '0', "readyNodeCount" integer DEFAULT '0', "managerNodeCount" integer DEFAULT '0', "serviceCount" integer DEFAULT '0', "taskCount" integer DEFAULT '0', "runningTaskCount" integer DEFAULT '0', "stackCount" integer DEFAULT '0', "networkCount" integer DEFAULT '0', "swarmId" character varying(100), "createdByUserId" uuid, "deletedByUserId" uuid, "retainTelemetryDataForDays" integer, "telemetryRetentionConfig" jsonb, CONSTRAINT "PK_46c01b63f84079cb867f7a3f130" PRIMARY KEY ("_id"))`);
|
|
192
|
+
await queryRunner.query(`CREATE INDEX "IDX_da881ec7c4c22ca15813941e8d" ON "DockerSwarmCluster" ("projectId") `);
|
|
193
|
+
await queryRunner.query(`CREATE INDEX "IDX_558572dac77c260fbd488d683e" ON "DockerSwarmCluster" ("name") `);
|
|
194
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_40b32e922dac4f79635e71494e" ON "DockerSwarmCluster" ("projectId", "name") `);
|
|
195
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterOwnerTeam" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "teamId" uuid NOT NULL, "dockerSwarmClusterId" uuid NOT NULL, "createdByUserId" uuid, "deletedByUserId" uuid, "isOwnerNotified" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_a54a9b08b8729d643ba27e0fd64" PRIMARY KEY ("_id"))`);
|
|
196
|
+
await queryRunner.query(`CREATE INDEX "IDX_5c8715c9bbe097fae9d47f84f6" ON "DockerSwarmClusterOwnerTeam" ("projectId") `);
|
|
197
|
+
await queryRunner.query(`CREATE INDEX "IDX_881424e5f7f5b7b585ee857177" ON "DockerSwarmClusterOwnerTeam" ("teamId") `);
|
|
198
|
+
await queryRunner.query(`CREATE INDEX "IDX_e57b7bc99f03f67c8ad7a1eec2" ON "DockerSwarmClusterOwnerTeam" ("dockerSwarmClusterId") `);
|
|
199
|
+
await queryRunner.query(`CREATE INDEX "IDX_d24613f10be9188592dc931fd4" ON "DockerSwarmClusterOwnerTeam" ("isOwnerNotified") `);
|
|
200
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterOwnerUser" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "userId" uuid NOT NULL, "dockerSwarmClusterId" uuid NOT NULL, "createdByUserId" uuid, "deletedByUserId" uuid, "isOwnerNotified" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_a2da68ae687577f0219296d60ff" PRIMARY KEY ("_id"))`);
|
|
201
|
+
await queryRunner.query(`CREATE INDEX "IDX_970fff1275934e2f74f5e1b5d8" ON "DockerSwarmClusterOwnerUser" ("projectId") `);
|
|
202
|
+
await queryRunner.query(`CREATE INDEX "IDX_f46e9f5be673995c7fdf4392a2" ON "DockerSwarmClusterOwnerUser" ("userId") `);
|
|
203
|
+
await queryRunner.query(`CREATE INDEX "IDX_3979506b4c309d926591592b4d" ON "DockerSwarmClusterOwnerUser" ("dockerSwarmClusterId") `);
|
|
204
|
+
await queryRunner.query(`CREATE INDEX "IDX_7959b1c3201bfd8dc0910e729e" ON "DockerSwarmClusterOwnerUser" ("isOwnerNotified") `);
|
|
205
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmResource" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "dockerSwarmClusterId" uuid NOT NULL, "kind" character varying(100) NOT NULL, "externalId" character varying(100) NOT NULL, "name" character varying(100), "state" character varying(100), "role" character varying(100), "serviceMode" character varying(100), "desiredReplicas" integer, "runningReplicas" integer, "image" character varying(500), "stackName" character varying(100), "serviceName" character varying(100), "nodeHostname" character varying(100), "driver" character varying(100), "isReady" boolean, "attributes" jsonb, "latestCpuPercent" numeric, "latestMemoryBytes" bigint, "maxMemoryBytes" bigint, "latestMemoryPercent" numeric, "metricsUpdatedAt" TIMESTAMP WITH TIME ZONE, "lastSeenAt" TIMESTAMP WITH TIME ZONE NOT NULL, "createdByUserId" uuid, "deletedByUserId" uuid, CONSTRAINT "PK_549bdf71cd43a4cd973ab1fe1f0" PRIMARY KEY ("_id"))`);
|
|
206
|
+
await queryRunner.query(`CREATE INDEX "IDX_8fcc617a6fc021aa036f629d09" ON "DockerSwarmResource" ("projectId") `);
|
|
207
|
+
await queryRunner.query(`CREATE INDEX "IDX_2ed38fa32b40829634bd9d5358" ON "DockerSwarmResource" ("dockerSwarmClusterId") `);
|
|
208
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_b2cae687bd4b70342147c6b1ba" ON "DockerSwarmResource" ("projectId", "dockerSwarmClusterId", "kind", "externalId") `);
|
|
209
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostOwnerRule" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "name" character varying(100) NOT NULL, "description" character varying(500), "isEnabled" boolean NOT NULL DEFAULT true, "notifyOwners" boolean NOT NULL DEFAULT true, "podmanHostNamePattern" character varying(500), "podmanHostDescriptionPattern" character varying(500), "createdByUserId" uuid, "deletedByUserId" uuid, CONSTRAINT "PK_1b076445f895ce14f04ff072870" PRIMARY KEY ("_id"))`);
|
|
210
|
+
await queryRunner.query(`CREATE INDEX "IDX_93e77721dea2b48aa8343dcb1c" ON "PodmanHostOwnerRule" ("projectId") `);
|
|
211
|
+
await queryRunner.query(`CREATE INDEX "IDX_35436c9438bca225598e8d3527" ON "PodmanHostOwnerRule" ("name") `);
|
|
212
|
+
await queryRunner.query(`CREATE INDEX "IDX_15b1cd2e19609e816fe2a07fc6" ON "PodmanHostOwnerRule" ("isEnabled") `);
|
|
213
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostLabelRule" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "name" character varying(100) NOT NULL, "description" character varying(500), "isEnabled" boolean NOT NULL DEFAULT true, "podmanHostNamePattern" character varying(500), "podmanHostDescriptionPattern" character varying(500), "createdByUserId" uuid, "deletedByUserId" uuid, CONSTRAINT "PK_c0e4483e0f9a5e6deb2cac7ba31" PRIMARY KEY ("_id"))`);
|
|
214
|
+
await queryRunner.query(`CREATE INDEX "IDX_19e3a8fa3eb64d672086c0af8b" ON "PodmanHostLabelRule" ("projectId") `);
|
|
215
|
+
await queryRunner.query(`CREATE INDEX "IDX_a73a6f772ac704ec4ac7ad2c2f" ON "PodmanHostLabelRule" ("name") `);
|
|
216
|
+
await queryRunner.query(`CREATE INDEX "IDX_fbae97f871249243b0ff37d351" ON "PodmanHostLabelRule" ("isEnabled") `);
|
|
217
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterOwnerRule" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "name" character varying(100) NOT NULL, "description" character varying(500), "isEnabled" boolean NOT NULL DEFAULT true, "notifyOwners" boolean NOT NULL DEFAULT true, "dockerSwarmClusterNamePattern" character varying(500), "dockerSwarmClusterDescriptionPattern" character varying(500), "createdByUserId" uuid, "deletedByUserId" uuid, CONSTRAINT "PK_4bcfba7102096a3495b964118af" PRIMARY KEY ("_id"))`);
|
|
218
|
+
await queryRunner.query(`CREATE INDEX "IDX_8121caf22dfcca8a881b226e2e" ON "DockerSwarmClusterOwnerRule" ("projectId") `);
|
|
219
|
+
await queryRunner.query(`CREATE INDEX "IDX_6f372c0441e5e03dc9e495e550" ON "DockerSwarmClusterOwnerRule" ("name") `);
|
|
220
|
+
await queryRunner.query(`CREATE INDEX "IDX_b4d68d4f323704f9f71a82a1f4" ON "DockerSwarmClusterOwnerRule" ("isEnabled") `);
|
|
221
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterLabelRule" ("_id" uuid NOT NULL DEFAULT uuid_generate_v4(), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "deletedAt" TIMESTAMP WITH TIME ZONE, "version" integer NOT NULL, "projectId" uuid NOT NULL, "name" character varying(100) NOT NULL, "description" character varying(500), "isEnabled" boolean NOT NULL DEFAULT true, "dockerSwarmClusterNamePattern" character varying(500), "dockerSwarmClusterDescriptionPattern" character varying(500), "createdByUserId" uuid, "deletedByUserId" uuid, CONSTRAINT "PK_c9ae11cf994606d2ac6187665e1" PRIMARY KEY ("_id"))`);
|
|
222
|
+
await queryRunner.query(`CREATE INDEX "IDX_47befb0affc3555f9ffb0a24f5" ON "DockerSwarmClusterLabelRule" ("projectId") `);
|
|
223
|
+
await queryRunner.query(`CREATE INDEX "IDX_911a6c47b2f1917db47ea720e4" ON "DockerSwarmClusterLabelRule" ("name") `);
|
|
224
|
+
await queryRunner.query(`CREATE INDEX "IDX_464846b44ced3658bb6e10b0e5" ON "DockerSwarmClusterLabelRule" ("isEnabled") `);
|
|
225
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostLabel" ("podmanHostId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_38b1bd752ff192553d2d50eefe7" PRIMARY KEY ("podmanHostId", "labelId"))`);
|
|
226
|
+
await queryRunner.query(`CREATE INDEX "IDX_963be9e3b50017b2a557ca9e01" ON "PodmanHostLabel" ("podmanHostId") `);
|
|
227
|
+
await queryRunner.query(`CREATE INDEX "IDX_2f020ddc2c90111560ca6c6c85" ON "PodmanHostLabel" ("labelId") `);
|
|
228
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterLabel" ("dockerSwarmClusterId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_db7e67f70b7f9e3bce8d7be1e0b" PRIMARY KEY ("dockerSwarmClusterId", "labelId"))`);
|
|
229
|
+
await queryRunner.query(`CREATE INDEX "IDX_b7997e08a5243861e8fcf92736" ON "DockerSwarmClusterLabel" ("dockerSwarmClusterId") `);
|
|
230
|
+
await queryRunner.query(`CREATE INDEX "IDX_bd74d53e6b4444fbea902289b8" ON "DockerSwarmClusterLabel" ("labelId") `);
|
|
231
|
+
await queryRunner.query(`CREATE TABLE "IncidentPodmanHost" ("incidentId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, CONSTRAINT "PK_701f494b9c7bd029e98811d2dda" PRIMARY KEY ("incidentId", "podmanHostId"))`);
|
|
232
|
+
await queryRunner.query(`CREATE INDEX "IDX_9eb9f35b16317b0dfa52559fb7" ON "IncidentPodmanHost" ("incidentId") `);
|
|
233
|
+
await queryRunner.query(`CREATE INDEX "IDX_eb62c596a88ac1fbecbf6e7b5e" ON "IncidentPodmanHost" ("podmanHostId") `);
|
|
234
|
+
await queryRunner.query(`CREATE TABLE "IncidentDockerSwarmCluster" ("incidentId" uuid NOT NULL, "dockerSwarmClusterId" uuid NOT NULL, CONSTRAINT "PK_4b2ce1381454a41e2f4cf15e3c9" PRIMARY KEY ("incidentId", "dockerSwarmClusterId"))`);
|
|
235
|
+
await queryRunner.query(`CREATE INDEX "IDX_35e52af3b3b4a92ef493108eab" ON "IncidentDockerSwarmCluster" ("incidentId") `);
|
|
236
|
+
await queryRunner.query(`CREATE INDEX "IDX_97f9afdbe158e3f5374b781207" ON "IncidentDockerSwarmCluster" ("dockerSwarmClusterId") `);
|
|
237
|
+
await queryRunner.query(`CREATE TABLE "IncidentPodmanResource" ("incidentId" uuid NOT NULL, "podmanResourceId" uuid NOT NULL, CONSTRAINT "PK_fdb479ce52e6cd2173b1136a7e0" PRIMARY KEY ("incidentId", "podmanResourceId"))`);
|
|
238
|
+
await queryRunner.query(`CREATE INDEX "IDX_eaf5254c3134daa3a9b6b4a739" ON "IncidentPodmanResource" ("incidentId") `);
|
|
239
|
+
await queryRunner.query(`CREATE INDEX "IDX_b0ec9d08d69cc9f2d471720f9e" ON "IncidentPodmanResource" ("podmanResourceId") `);
|
|
240
|
+
await queryRunner.query(`CREATE TABLE "AlertPodmanHost" ("alertId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, CONSTRAINT "PK_2c3f8b7a9c4bd21a1e6df4b87be" PRIMARY KEY ("alertId", "podmanHostId"))`);
|
|
241
|
+
await queryRunner.query(`CREATE INDEX "IDX_4cda1d6f5a80bc5bdd5bca3acf" ON "AlertPodmanHost" ("alertId") `);
|
|
242
|
+
await queryRunner.query(`CREATE INDEX "IDX_85a5c53459ff51c256023f2318" ON "AlertPodmanHost" ("podmanHostId") `);
|
|
243
|
+
await queryRunner.query(`CREATE TABLE "AlertDockerSwarmCluster" ("alertId" uuid NOT NULL, "dockerSwarmClusterId" uuid NOT NULL, CONSTRAINT "PK_1354ecf035aecd0f2c51b14b1e8" PRIMARY KEY ("alertId", "dockerSwarmClusterId"))`);
|
|
244
|
+
await queryRunner.query(`CREATE INDEX "IDX_748fededf06332f3f6df0c466d" ON "AlertDockerSwarmCluster" ("alertId") `);
|
|
245
|
+
await queryRunner.query(`CREATE INDEX "IDX_779405e1f328c3d75bcf517938" ON "AlertDockerSwarmCluster" ("dockerSwarmClusterId") `);
|
|
246
|
+
await queryRunner.query(`CREATE TABLE "AlertPodmanResource" ("alertId" uuid NOT NULL, "podmanResourceId" uuid NOT NULL, CONSTRAINT "PK_398243d41785897b8150f977763" PRIMARY KEY ("alertId", "podmanResourceId"))`);
|
|
247
|
+
await queryRunner.query(`CREATE INDEX "IDX_376e4cea18a6af797b7ea7ccd0" ON "AlertPodmanResource" ("alertId") `);
|
|
248
|
+
await queryRunner.query(`CREATE INDEX "IDX_05fbcff360b0be1652c8948b8a" ON "AlertPodmanResource" ("podmanResourceId") `);
|
|
249
|
+
await queryRunner.query(`CREATE TABLE "ScheduledMaintenancePodmanHost" ("scheduledMaintenanceId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, CONSTRAINT "PK_a5bebf065578f278f2345f39b84" PRIMARY KEY ("scheduledMaintenanceId", "podmanHostId"))`);
|
|
250
|
+
await queryRunner.query(`CREATE INDEX "IDX_570b3e04f016052bf8ef7bf70a" ON "ScheduledMaintenancePodmanHost" ("scheduledMaintenanceId") `);
|
|
251
|
+
await queryRunner.query(`CREATE INDEX "IDX_c12b4d3465796bbbabba37ffe6" ON "ScheduledMaintenancePodmanHost" ("podmanHostId") `);
|
|
252
|
+
await queryRunner.query(`CREATE TABLE "ScheduledMaintenanceDockerSwarmCluster" ("scheduledMaintenanceId" uuid NOT NULL, "dockerSwarmClusterId" uuid NOT NULL, CONSTRAINT "PK_c3471dfe221eb87fe6e79b3647d" PRIMARY KEY ("scheduledMaintenanceId", "dockerSwarmClusterId"))`);
|
|
253
|
+
await queryRunner.query(`CREATE INDEX "IDX_5c0abc005361dfa415d0d065fd" ON "ScheduledMaintenanceDockerSwarmCluster" ("scheduledMaintenanceId") `);
|
|
254
|
+
await queryRunner.query(`CREATE INDEX "IDX_1f193f2ad985e7548ff4dc135a" ON "ScheduledMaintenanceDockerSwarmCluster" ("dockerSwarmClusterId") `);
|
|
255
|
+
await queryRunner.query(`CREATE TABLE "IncidentTemplatePodmanHost" ("incidentTemplateId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, CONSTRAINT "PK_7a529965548913ec1a47c66a83e" PRIMARY KEY ("incidentTemplateId", "podmanHostId"))`);
|
|
256
|
+
await queryRunner.query(`CREATE INDEX "IDX_684416928f6c99c022a9fcb956" ON "IncidentTemplatePodmanHost" ("incidentTemplateId") `);
|
|
257
|
+
await queryRunner.query(`CREATE INDEX "IDX_16a36a504da94535ccace7f3dd" ON "IncidentTemplatePodmanHost" ("podmanHostId") `);
|
|
258
|
+
await queryRunner.query(`CREATE TABLE "ScheduledMaintenanceTemplatePodmanHost" ("scheduledMaintenanceTemplateId" uuid NOT NULL, "podmanHostId" uuid NOT NULL, CONSTRAINT "PK_d47f2f3090b220630ed8fee7e3d" PRIMARY KEY ("scheduledMaintenanceTemplateId", "podmanHostId"))`);
|
|
259
|
+
await queryRunner.query(`CREATE INDEX "IDX_c27b4872168d6e85283c622f77" ON "ScheduledMaintenanceTemplatePodmanHost" ("scheduledMaintenanceTemplateId") `);
|
|
260
|
+
await queryRunner.query(`CREATE INDEX "IDX_b4d6ffbc8648a1c528163780df" ON "ScheduledMaintenanceTemplatePodmanHost" ("podmanHostId") `);
|
|
261
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostOwnerRulePodmanHostLabel" ("podmanHostOwnerRuleId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_668bd2fdfa62fb857614fda5bda" PRIMARY KEY ("podmanHostOwnerRuleId", "labelId"))`);
|
|
262
|
+
await queryRunner.query(`CREATE INDEX "IDX_ef545387a8be6a10b08ca00bbf" ON "PodmanHostOwnerRulePodmanHostLabel" ("podmanHostOwnerRuleId") `);
|
|
263
|
+
await queryRunner.query(`CREATE INDEX "IDX_94afece69d250184817bf6a568" ON "PodmanHostOwnerRulePodmanHostLabel" ("labelId") `);
|
|
264
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostOwnerRuleOwnerUser" ("podmanHostOwnerRuleId" uuid NOT NULL, "userId" uuid NOT NULL, CONSTRAINT "PK_9cb9bb0a78030991c673e1af528" PRIMARY KEY ("podmanHostOwnerRuleId", "userId"))`);
|
|
265
|
+
await queryRunner.query(`CREATE INDEX "IDX_fa038c593b2c42c23bc65c73cf" ON "PodmanHostOwnerRuleOwnerUser" ("podmanHostOwnerRuleId") `);
|
|
266
|
+
await queryRunner.query(`CREATE INDEX "IDX_f00a7bcddc0efb222d8fcb81d3" ON "PodmanHostOwnerRuleOwnerUser" ("userId") `);
|
|
267
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostOwnerRuleOwnerTeam" ("podmanHostOwnerRuleId" uuid NOT NULL, "teamId" uuid NOT NULL, CONSTRAINT "PK_5e7251176142d7d4cc811470e8d" PRIMARY KEY ("podmanHostOwnerRuleId", "teamId"))`);
|
|
268
|
+
await queryRunner.query(`CREATE INDEX "IDX_6e8445007db31ef701a2248961" ON "PodmanHostOwnerRuleOwnerTeam" ("podmanHostOwnerRuleId") `);
|
|
269
|
+
await queryRunner.query(`CREATE INDEX "IDX_405743c3dd0e0faa6f7e089bef" ON "PodmanHostOwnerRuleOwnerTeam" ("teamId") `);
|
|
270
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostLabelRulePodmanHostLabel" ("podmanHostLabelRuleId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_df6764657896f6af70da2620633" PRIMARY KEY ("podmanHostLabelRuleId", "labelId"))`);
|
|
271
|
+
await queryRunner.query(`CREATE INDEX "IDX_b48a7966e476621a21da591998" ON "PodmanHostLabelRulePodmanHostLabel" ("podmanHostLabelRuleId") `);
|
|
272
|
+
await queryRunner.query(`CREATE INDEX "IDX_7f630e2bab87bdcff1a441113b" ON "PodmanHostLabelRulePodmanHostLabel" ("labelId") `);
|
|
273
|
+
await queryRunner.query(`CREATE TABLE "PodmanHostLabelRuleLabelToAdd" ("podmanHostLabelRuleId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_6a89d5833ae461cd559feea19ba" PRIMARY KEY ("podmanHostLabelRuleId", "labelId"))`);
|
|
274
|
+
await queryRunner.query(`CREATE INDEX "IDX_ce2f37445d6b71cf493e26fcad" ON "PodmanHostLabelRuleLabelToAdd" ("podmanHostLabelRuleId") `);
|
|
275
|
+
await queryRunner.query(`CREATE INDEX "IDX_2af4c6a46729e35d643f4695f1" ON "PodmanHostLabelRuleLabelToAdd" ("labelId") `);
|
|
276
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel" ("dockerSwarmClusterOwnerRuleId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_cb3483b7e0192815d2816eb4307" PRIMARY KEY ("dockerSwarmClusterOwnerRuleId", "labelId"))`);
|
|
277
|
+
await queryRunner.query(`CREATE INDEX "IDX_b669ac4df3047328cc45537aa4" ON "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel" ("dockerSwarmClusterOwnerRuleId") `);
|
|
278
|
+
await queryRunner.query(`CREATE INDEX "IDX_bc7cbff2b12d67ab7ffead983c" ON "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel" ("labelId") `);
|
|
279
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterOwnerRuleOwnerUser" ("dockerSwarmClusterOwnerRuleId" uuid NOT NULL, "userId" uuid NOT NULL, CONSTRAINT "PK_cba7211f600fa3da773f8d2a4d2" PRIMARY KEY ("dockerSwarmClusterOwnerRuleId", "userId"))`);
|
|
280
|
+
await queryRunner.query(`CREATE INDEX "IDX_958ff23ca1e0eec6bf6a3cd232" ON "DockerSwarmClusterOwnerRuleOwnerUser" ("dockerSwarmClusterOwnerRuleId") `);
|
|
281
|
+
await queryRunner.query(`CREATE INDEX "IDX_f0f400a618723e79a45150d353" ON "DockerSwarmClusterOwnerRuleOwnerUser" ("userId") `);
|
|
282
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterOwnerRuleOwnerTeam" ("dockerSwarmClusterOwnerRuleId" uuid NOT NULL, "teamId" uuid NOT NULL, CONSTRAINT "PK_1cad2354aa5eb57e5eef862792c" PRIMARY KEY ("dockerSwarmClusterOwnerRuleId", "teamId"))`);
|
|
283
|
+
await queryRunner.query(`CREATE INDEX "IDX_aad5be7d54f997354c62f42f5e" ON "DockerSwarmClusterOwnerRuleOwnerTeam" ("dockerSwarmClusterOwnerRuleId") `);
|
|
284
|
+
await queryRunner.query(`CREATE INDEX "IDX_e3a5a7a9c2551330e01a39ee50" ON "DockerSwarmClusterOwnerRuleOwnerTeam" ("teamId") `);
|
|
285
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel" ("dockerSwarmClusterLabelRuleId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_5fa85b9e2ae9483963d2adc7f69" PRIMARY KEY ("dockerSwarmClusterLabelRuleId", "labelId"))`);
|
|
286
|
+
await queryRunner.query(`CREATE INDEX "IDX_ad36a264745163d6cc2443d7d1" ON "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel" ("dockerSwarmClusterLabelRuleId") `);
|
|
287
|
+
await queryRunner.query(`CREATE INDEX "IDX_954aa7dad00610dd61808d2158" ON "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel" ("labelId") `);
|
|
288
|
+
await queryRunner.query(`CREATE TABLE "DockerSwarmClusterLabelRuleLabelToAdd" ("dockerSwarmClusterLabelRuleId" uuid NOT NULL, "labelId" uuid NOT NULL, CONSTRAINT "PK_e2e3ee802bc5ca006b02da5afe7" PRIMARY KEY ("dockerSwarmClusterLabelRuleId", "labelId"))`);
|
|
289
|
+
await queryRunner.query(`CREATE INDEX "IDX_73e41be2a180b4b7cd62acade9" ON "DockerSwarmClusterLabelRuleLabelToAdd" ("dockerSwarmClusterLabelRuleId") `);
|
|
290
|
+
await queryRunner.query(`CREATE INDEX "IDX_a82d8ac4bda5274e0114c23afe" ON "DockerSwarmClusterLabelRuleLabelToAdd" ("labelId") `);
|
|
291
|
+
await queryRunner.query(`ALTER TABLE "AlertOwnerRule" ADD "inheritOwnersFromPodmanHosts" boolean NOT NULL DEFAULT false`);
|
|
292
|
+
await queryRunner.query(`ALTER TABLE "AlertLabelRule" ADD "inheritLabelsFromPodmanHosts" boolean NOT NULL DEFAULT false`);
|
|
293
|
+
await queryRunner.query(`ALTER TABLE "IncidentOwnerRule" ADD "inheritOwnersFromPodmanHosts" boolean NOT NULL DEFAULT false`);
|
|
294
|
+
await queryRunner.query(`ALTER TABLE "IncidentLabelRule" ADD "inheritLabelsFromPodmanHosts" boolean NOT NULL DEFAULT false`);
|
|
295
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceOwnerRule" ADD "inheritOwnersFromPodmanHosts" boolean NOT NULL DEFAULT false`);
|
|
296
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceLabelRule" ADD "inheritLabelsFromPodmanHosts" boolean NOT NULL DEFAULT false`);
|
|
297
|
+
await queryRunner.query(`ALTER TABLE "Project" DROP COLUMN "financeAccountingEmail"`);
|
|
298
|
+
await queryRunner.query(`ALTER TABLE "Project" ADD "financeAccountingEmail" character varying(500)`);
|
|
299
|
+
await queryRunner.query(`ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "rotation" SET DEFAULT '{"_type":"Recurring","value":{"intervalType":"Day","intervalCount":{"_type":"PositiveNumber","value":1}}}'`);
|
|
300
|
+
await queryRunner.query(`ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "restrictionTimes" SET DEFAULT '{"_type":"RestrictionTimes","value":{"restictionType":"None","dayRestrictionTimes":null,"weeklyRestrictionTimes":[]}}'`);
|
|
301
|
+
await queryRunner.query(`CREATE INDEX "IDX_20216ec3277986d5ae08fd97bb" ON "CephCluster" ("projectId") `);
|
|
302
|
+
await queryRunner.query(`CREATE INDEX "IDX_aafaa4bdec6d42b5770c41c61a" ON "CephCluster" ("name") `);
|
|
303
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_6c21ee141871ea340e9fc64f1e" ON "CephCluster" ("projectId", "name") `);
|
|
304
|
+
await queryRunner.query(`CREATE INDEX "IDX_fd63bd3b519ced2c486cf543e0" ON "ProxmoxCluster" ("projectId") `);
|
|
305
|
+
await queryRunner.query(`CREATE INDEX "IDX_9de7a23debe809301538ef8368" ON "ProxmoxCluster" ("name") `);
|
|
306
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_56d036d93cc784c11884832364" ON "ProxmoxCluster" ("projectId", "name") `);
|
|
307
|
+
await queryRunner.query(`CREATE INDEX "IDX_160397e8592834d4b98fc535f6" ON "ProxmoxClusterOwnerTeam" ("projectId") `);
|
|
308
|
+
await queryRunner.query(`CREATE INDEX "IDX_ca566ba685de7dd978b4baed08" ON "ProxmoxClusterOwnerTeam" ("teamId") `);
|
|
309
|
+
await queryRunner.query(`CREATE INDEX "IDX_491a7d288d0f1654c45bd3e6b4" ON "ProxmoxClusterOwnerTeam" ("proxmoxClusterId") `);
|
|
310
|
+
await queryRunner.query(`CREATE INDEX "IDX_8c8fa15b899205a6b0ec6b59fc" ON "ProxmoxClusterOwnerTeam" ("isOwnerNotified") `);
|
|
311
|
+
await queryRunner.query(`CREATE INDEX "IDX_21a264a4622ba591367825aa9e" ON "ProxmoxClusterOwnerUser" ("projectId") `);
|
|
312
|
+
await queryRunner.query(`CREATE INDEX "IDX_6bb75d46d3a511149a80b212b3" ON "ProxmoxClusterOwnerUser" ("userId") `);
|
|
313
|
+
await queryRunner.query(`CREATE INDEX "IDX_591eb5cdcff159dcb1a9114022" ON "ProxmoxClusterOwnerUser" ("proxmoxClusterId") `);
|
|
314
|
+
await queryRunner.query(`CREATE INDEX "IDX_201a165158883596a94abdaa8f" ON "ProxmoxClusterOwnerUser" ("isOwnerNotified") `);
|
|
315
|
+
await queryRunner.query(`CREATE INDEX "IDX_46e791b3b6a3b0aa95d5ed6cc1" ON "ProxmoxResource" ("projectId") `);
|
|
316
|
+
await queryRunner.query(`CREATE INDEX "IDX_25bbc77dc86c8c2de6ab1679e4" ON "ProxmoxResource" ("proxmoxClusterId") `);
|
|
317
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_62a0ea57abd7d0da8b5284ab9e" ON "ProxmoxResource" ("projectId", "proxmoxClusterId", "kind", "externalId") `);
|
|
318
|
+
await queryRunner.query(`CREATE INDEX "IDX_e6608f1702b29208445ebedfe2" ON "CephClusterOwnerTeam" ("projectId") `);
|
|
319
|
+
await queryRunner.query(`CREATE INDEX "IDX_4588e4038c85b41a6256e828d0" ON "CephClusterOwnerTeam" ("teamId") `);
|
|
320
|
+
await queryRunner.query(`CREATE INDEX "IDX_f61243d7350fdf08ff36fa1e99" ON "CephClusterOwnerTeam" ("cephClusterId") `);
|
|
321
|
+
await queryRunner.query(`CREATE INDEX "IDX_44bb972b76964d1270b61cefd9" ON "CephClusterOwnerTeam" ("isOwnerNotified") `);
|
|
322
|
+
await queryRunner.query(`CREATE INDEX "IDX_7e73257d42affbb4b38f9188b9" ON "CephClusterOwnerUser" ("projectId") `);
|
|
323
|
+
await queryRunner.query(`CREATE INDEX "IDX_29e85704dca21ea364785783fe" ON "CephClusterOwnerUser" ("userId") `);
|
|
324
|
+
await queryRunner.query(`CREATE INDEX "IDX_cad804611b20c69d1f0a787712" ON "CephClusterOwnerUser" ("cephClusterId") `);
|
|
325
|
+
await queryRunner.query(`CREATE INDEX "IDX_66b88e08f836fcf752ddb1f8c3" ON "CephClusterOwnerUser" ("isOwnerNotified") `);
|
|
326
|
+
await queryRunner.query(`CREATE INDEX "IDX_8be4ae9090dcd46257fb7f08c6" ON "CephResource" ("projectId") `);
|
|
327
|
+
await queryRunner.query(`CREATE INDEX "IDX_cce1a652f3027d5fcfc1d73607" ON "CephResource" ("cephClusterId") `);
|
|
328
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_99d0abf478d3b07acf11e5d86b" ON "CephResource" ("projectId", "cephClusterId", "kind", "externalId") `);
|
|
329
|
+
await queryRunner.query(`CREATE INDEX "IDX_bd4333af455c31d4cded38ce98" ON "ProxmoxClusterOwnerRule" ("projectId") `);
|
|
330
|
+
await queryRunner.query(`CREATE INDEX "IDX_7807258051c6a7ed1f0a2d8192" ON "ProxmoxClusterOwnerRule" ("name") `);
|
|
331
|
+
await queryRunner.query(`CREATE INDEX "IDX_c5ac142817cff8d50fb900d674" ON "ProxmoxClusterOwnerRule" ("isEnabled") `);
|
|
332
|
+
await queryRunner.query(`CREATE INDEX "IDX_edfb1d585dc24c8556d4e58cff" ON "ProxmoxClusterLabelRule" ("projectId") `);
|
|
333
|
+
await queryRunner.query(`CREATE INDEX "IDX_c30ba63ee7922bb479dc102527" ON "ProxmoxClusterLabelRule" ("name") `);
|
|
334
|
+
await queryRunner.query(`CREATE INDEX "IDX_5de020980441cfb158b38068da" ON "ProxmoxClusterLabelRule" ("isEnabled") `);
|
|
335
|
+
await queryRunner.query(`CREATE INDEX "IDX_ab0b9ae7420a3d2b9fab377aec" ON "CephClusterOwnerRule" ("projectId") `);
|
|
336
|
+
await queryRunner.query(`CREATE INDEX "IDX_de22ab53ad7d3b33e7191a6631" ON "CephClusterOwnerRule" ("name") `);
|
|
337
|
+
await queryRunner.query(`CREATE INDEX "IDX_ac11fdc69267ba6ba3cf18d1b6" ON "CephClusterOwnerRule" ("isEnabled") `);
|
|
338
|
+
await queryRunner.query(`CREATE INDEX "IDX_f83659d44dadb229a52c067d03" ON "CephClusterLabelRule" ("projectId") `);
|
|
339
|
+
await queryRunner.query(`CREATE INDEX "IDX_ba94a20640228182041a8bd943" ON "CephClusterLabelRule" ("name") `);
|
|
340
|
+
await queryRunner.query(`CREATE INDEX "IDX_172eae17e5baa493be1f1514ac" ON "CephClusterLabelRule" ("isEnabled") `);
|
|
341
|
+
await queryRunner.query(`CREATE INDEX "IDX_2cdd58ac0c75e015836665ac34" ON "CephClusterLabel" ("cephClusterId") `);
|
|
342
|
+
await queryRunner.query(`CREATE INDEX "IDX_193e7ab49242b2921fa74a376d" ON "CephClusterLabel" ("labelId") `);
|
|
343
|
+
await queryRunner.query(`CREATE INDEX "IDX_0dac439700a797d57a3e435250" ON "ProxmoxClusterLabel" ("proxmoxClusterId") `);
|
|
344
|
+
await queryRunner.query(`CREATE INDEX "IDX_31b13695f386336f5931613add" ON "ProxmoxClusterLabel" ("labelId") `);
|
|
345
|
+
await queryRunner.query(`CREATE INDEX "IDX_5c785147c7c0f89c2d35f4b8e5" ON "IncidentProxmoxCluster" ("incidentId") `);
|
|
346
|
+
await queryRunner.query(`CREATE INDEX "IDX_be19aae8dadb71f8ed1677dac3" ON "IncidentProxmoxCluster" ("proxmoxClusterId") `);
|
|
347
|
+
await queryRunner.query(`CREATE INDEX "IDX_860bf95d284d2576bfbf6b8282" ON "IncidentCephCluster" ("incidentId") `);
|
|
348
|
+
await queryRunner.query(`CREATE INDEX "IDX_86dc37aa8f2fa9db0b80fa9ac0" ON "IncidentCephCluster" ("cephClusterId") `);
|
|
349
|
+
await queryRunner.query(`CREATE INDEX "IDX_9c83996a399a3fbff47cac5afb" ON "AlertProxmoxCluster" ("alertId") `);
|
|
350
|
+
await queryRunner.query(`CREATE INDEX "IDX_90e2c01e08dbe8d8f8ba2e71ab" ON "AlertProxmoxCluster" ("proxmoxClusterId") `);
|
|
351
|
+
await queryRunner.query(`CREATE INDEX "IDX_07f55cbd5789397c8f15b88084" ON "AlertCephCluster" ("alertId") `);
|
|
352
|
+
await queryRunner.query(`CREATE INDEX "IDX_aae64dd7cbf048a5d2dba1ae06" ON "AlertCephCluster" ("cephClusterId") `);
|
|
353
|
+
await queryRunner.query(`CREATE INDEX "IDX_4909077e8ee1c8b44c4df81f5b" ON "ScheduledMaintenanceProxmoxCluster" ("scheduledMaintenanceId") `);
|
|
354
|
+
await queryRunner.query(`CREATE INDEX "IDX_82f74b0e34421ab57ba2fce187" ON "ScheduledMaintenanceProxmoxCluster" ("proxmoxClusterId") `);
|
|
355
|
+
await queryRunner.query(`CREATE INDEX "IDX_de2d7f0647ea22ea71a0715777" ON "ScheduledMaintenanceCephCluster" ("scheduledMaintenanceId") `);
|
|
356
|
+
await queryRunner.query(`CREATE INDEX "IDX_3676443235656830b9606f218a" ON "ScheduledMaintenanceCephCluster" ("cephClusterId") `);
|
|
357
|
+
await queryRunner.query(`CREATE INDEX "IDX_9bbe37882540332ba4cbf3890d" ON "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ("proxmoxClusterOwnerRuleId") `);
|
|
358
|
+
await queryRunner.query(`CREATE INDEX "IDX_e2c7c48a6d3692cfbee000f70a" ON "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ("labelId") `);
|
|
359
|
+
await queryRunner.query(`CREATE INDEX "IDX_068678ab2a3311f44da5473123" ON "ProxmoxClusterOwnerRuleOwnerUser" ("proxmoxClusterOwnerRuleId") `);
|
|
360
|
+
await queryRunner.query(`CREATE INDEX "IDX_63be7205c7338bd554e3c4d876" ON "ProxmoxClusterOwnerRuleOwnerUser" ("userId") `);
|
|
361
|
+
await queryRunner.query(`CREATE INDEX "IDX_590d66e6ab9c143812be3de8df" ON "ProxmoxClusterOwnerRuleOwnerTeam" ("proxmoxClusterOwnerRuleId") `);
|
|
362
|
+
await queryRunner.query(`CREATE INDEX "IDX_6dfb944a71fec6548bd7b6b74c" ON "ProxmoxClusterOwnerRuleOwnerTeam" ("teamId") `);
|
|
363
|
+
await queryRunner.query(`CREATE INDEX "IDX_8efffa71d1874f710d30caeeac" ON "ProxmoxClusterLabelRuleProxmoxClusterLabel" ("proxmoxClusterLabelRuleId") `);
|
|
364
|
+
await queryRunner.query(`CREATE INDEX "IDX_282407ee16f1b9c739c6841e2b" ON "ProxmoxClusterLabelRuleProxmoxClusterLabel" ("labelId") `);
|
|
365
|
+
await queryRunner.query(`CREATE INDEX "IDX_b9875bc3bb7ebede405623b416" ON "ProxmoxClusterLabelRuleLabelToAdd" ("proxmoxClusterLabelRuleId") `);
|
|
366
|
+
await queryRunner.query(`CREATE INDEX "IDX_b7eb12459f56dcd7d94a289759" ON "ProxmoxClusterLabelRuleLabelToAdd" ("labelId") `);
|
|
367
|
+
await queryRunner.query(`CREATE INDEX "IDX_3b51e30fce3abd99edd751ea05" ON "CephClusterOwnerRuleCephClusterLabel" ("cephClusterOwnerRuleId") `);
|
|
368
|
+
await queryRunner.query(`CREATE INDEX "IDX_634d778c8d0c658b1cdc72ed93" ON "CephClusterOwnerRuleCephClusterLabel" ("labelId") `);
|
|
369
|
+
await queryRunner.query(`CREATE INDEX "IDX_d42f9b12b651c609cafca1f3c4" ON "CephClusterOwnerRuleOwnerUser" ("cephClusterOwnerRuleId") `);
|
|
370
|
+
await queryRunner.query(`CREATE INDEX "IDX_9d21c2166120cb4c0dca852627" ON "CephClusterOwnerRuleOwnerUser" ("userId") `);
|
|
371
|
+
await queryRunner.query(`CREATE INDEX "IDX_c8beb21b3a727c915bee26b3b0" ON "CephClusterOwnerRuleOwnerTeam" ("cephClusterOwnerRuleId") `);
|
|
372
|
+
await queryRunner.query(`CREATE INDEX "IDX_cb0b405cda0e7e57bba84e3835" ON "CephClusterOwnerRuleOwnerTeam" ("teamId") `);
|
|
373
|
+
await queryRunner.query(`CREATE INDEX "IDX_b92ce422f7d8739ca64309a148" ON "CephClusterLabelRuleCephClusterLabel" ("cephClusterLabelRuleId") `);
|
|
374
|
+
await queryRunner.query(`CREATE INDEX "IDX_0c5ffa49420aee93d38cd185cd" ON "CephClusterLabelRuleCephClusterLabel" ("labelId") `);
|
|
375
|
+
await queryRunner.query(`CREATE INDEX "IDX_8e1f9045b0678004b38aadb209" ON "CephClusterLabelRuleLabelToAdd" ("cephClusterLabelRuleId") `);
|
|
376
|
+
await queryRunner.query(`CREATE INDEX "IDX_b8b6bacc78025431f6947702fb" ON "CephClusterLabelRuleLabelToAdd" ("labelId") `);
|
|
377
|
+
await queryRunner.query(`ALTER TABLE "PodmanHost" ADD CONSTRAINT "FK_800ec09eb585cdb5e4c643ef51b" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
378
|
+
await queryRunner.query(`ALTER TABLE "PodmanHost" ADD CONSTRAINT "FK_226968cb67b75a269fd4afc8e21" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
379
|
+
await queryRunner.query(`ALTER TABLE "PodmanHost" ADD CONSTRAINT "FK_d3489b9ce7bbc6d188532380465" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
380
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" ADD CONSTRAINT "FK_76c44007c314e08a38f281c2a20" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
381
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" ADD CONSTRAINT "FK_4a26aefc1de15f94048ef3b45cf" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
382
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" ADD CONSTRAINT "FK_9621e9bcc51de9020a80cbc2a3a" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
383
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" ADD CONSTRAINT "FK_4afb8e67cb5091d0516f5367838" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
384
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" ADD CONSTRAINT "FK_60e39785a25e87094f3c26f1a31" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
385
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" ADD CONSTRAINT "FK_ea369857823e55e8c21a27a3b7b" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
386
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" ADD CONSTRAINT "FK_2cecebbab6116b69a956486662e" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
387
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" ADD CONSTRAINT "FK_6cd03329fe875288a708b233b47" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
388
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" ADD CONSTRAINT "FK_71ebaf0b0f13eaa695364809620" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
389
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" ADD CONSTRAINT "FK_1f25293571ef8e2463395752fd9" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
390
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" ADD CONSTRAINT "FK_7e634b27917c3b9e8097825843e" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
391
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" ADD CONSTRAINT "FK_bed5c2772bfe0c0e830c3532b72" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
392
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" ADD CONSTRAINT "FK_455a9f7e73013478864ec09b245" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
393
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" ADD CONSTRAINT "FK_ee3ba0f5cf06521b69737f557bd" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
394
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" ADD CONSTRAINT "FK_20216ec3277986d5ae08fd97bbc" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
395
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" ADD CONSTRAINT "FK_6ce38fbca245d24d9c9291bc0aa" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
396
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" ADD CONSTRAINT "FK_4ed976be4233caef7e2870809bf" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
397
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_fd63bd3b519ced2c486cf543e07" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
398
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_f6adcec1177f99f7e1474d39102" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
399
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_024306bb97b69b0e2ce31e72af0" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
400
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_5ea525bb98954059807e2d78188" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
401
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmCluster" ADD CONSTRAINT "FK_da881ec7c4c22ca15813941e8dc" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
402
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmCluster" ADD CONSTRAINT "FK_8b49a7928b1e024a95b5d867f2d" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
403
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmCluster" ADD CONSTRAINT "FK_b0b79b94e54b04805af8215e781" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
404
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_160397e8592834d4b98fc535f6a" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
405
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_ca566ba685de7dd978b4baed08b" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
406
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_491a7d288d0f1654c45bd3e6b4c" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
407
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_1ca2afe281a8321d013d28ef494" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
408
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_26cbfc7eba8141ece8c684c770b" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
409
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" ADD CONSTRAINT "FK_5c8715c9bbe097fae9d47f84f6f" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
410
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" ADD CONSTRAINT "FK_881424e5f7f5b7b585ee8571770" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
411
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" ADD CONSTRAINT "FK_e57b7bc99f03f67c8ad7a1eec2b" FOREIGN KEY ("dockerSwarmClusterId") REFERENCES "DockerSwarmCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
412
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" ADD CONSTRAINT "FK_505c1de8cb3863f2d8e49986349" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
413
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" ADD CONSTRAINT "FK_3e5dc2c6bde8e7edc53ebd68e1e" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
414
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_21a264a4622ba591367825aa9e1" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
415
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_6bb75d46d3a511149a80b212b39" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
416
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_591eb5cdcff159dcb1a9114022f" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
417
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_15585b88e233fc149f706268b0f" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
418
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_6a90d5141b0c9854c32a8ca4c8e" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
419
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" ADD CONSTRAINT "FK_970fff1275934e2f74f5e1b5d85" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
420
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" ADD CONSTRAINT "FK_f46e9f5be673995c7fdf4392a2d" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
421
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" ADD CONSTRAINT "FK_3979506b4c309d926591592b4d7" FOREIGN KEY ("dockerSwarmClusterId") REFERENCES "DockerSwarmCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
422
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" ADD CONSTRAINT "FK_da5d8aba1298eb2ae1df3c89744" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
423
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" ADD CONSTRAINT "FK_fc398d618da640affc0b5bc2067" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
424
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_46e791b3b6a3b0aa95d5ed6cc18" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
425
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_25bbc77dc86c8c2de6ab1679e43" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
426
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_73d0f066c4322a19cd3da9dd8f9" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
427
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_9f5b91e77509f790c71888d73af" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
428
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" ADD CONSTRAINT "FK_8fcc617a6fc021aa036f629d096" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
429
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" ADD CONSTRAINT "FK_2ed38fa32b40829634bd9d5358c" FOREIGN KEY ("dockerSwarmClusterId") REFERENCES "DockerSwarmCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
430
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" ADD CONSTRAINT "FK_3c1e1d255dbe7567ab54443e004" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
431
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" ADD CONSTRAINT "FK_480af1c3b24d7a06c857460cec3" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
432
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_e6608f1702b29208445ebedfe25" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
433
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_4588e4038c85b41a6256e828d08" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
434
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_f61243d7350fdf08ff36fa1e99d" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
435
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_7884ae0bd6a8c0275bc22dc6bde" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
436
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_9db7fe4ecea9d899101e1a5c09b" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
437
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_7e73257d42affbb4b38f9188b91" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
438
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_29e85704dca21ea364785783fe2" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
439
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_cad804611b20c69d1f0a7877126" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
440
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_ecb1a61d6dabc7f348f9e15b82c" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
441
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_1f6621f7b7c6fae18ca69412e31" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
442
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_8be4ae9090dcd46257fb7f08c66" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
443
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_cce1a652f3027d5fcfc1d736076" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
444
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_7efa5d5d3342549b926cb236524" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
445
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_3ef04d7364c547f9bdc63c84d79" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
446
|
+
await queryRunner.query(`ALTER TABLE "Host" ADD CONSTRAINT "FK_1d1472a3626fabd92feeb1db9b1" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
447
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRule" ADD CONSTRAINT "FK_93e77721dea2b48aa8343dcb1cf" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
448
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRule" ADD CONSTRAINT "FK_30ce3c714e334beed1bb626f501" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
449
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRule" ADD CONSTRAINT "FK_2f1d57a0a6278c0c10dca051152" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
450
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRule" ADD CONSTRAINT "FK_19e3a8fa3eb64d672086c0af8b3" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
451
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRule" ADD CONSTRAINT "FK_83cc82fa981ec2cd84029bbe609" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
452
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRule" ADD CONSTRAINT "FK_53fcb8f37ffe0d9a33edec682c2" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
453
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" ADD CONSTRAINT "FK_bd4333af455c31d4cded38ce981" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
454
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" ADD CONSTRAINT "FK_4b7e6b09ea7040671e2a24b1197" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
455
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" ADD CONSTRAINT "FK_dcdd2a2c789fdafe36c877b629b" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
456
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRule" ADD CONSTRAINT "FK_8121caf22dfcca8a881b226e2e5" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
457
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRule" ADD CONSTRAINT "FK_25ca09d7c8f677e1e2e13643cea" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
458
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRule" ADD CONSTRAINT "FK_7e805f0febacc2caf7095d38d27" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
459
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" ADD CONSTRAINT "FK_edfb1d585dc24c8556d4e58cff0" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
460
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" ADD CONSTRAINT "FK_d9165315ae1e802ea4fbd45c362" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
461
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" ADD CONSTRAINT "FK_e4e7baa610b7616a93afe2c9401" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
462
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRule" ADD CONSTRAINT "FK_47befb0affc3555f9ffb0a24f5e" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
463
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRule" ADD CONSTRAINT "FK_2bd80c032859ea0647c9765b04d" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
464
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRule" ADD CONSTRAINT "FK_8a0e7ea04b63d004707fb57a5d9" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
465
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" ADD CONSTRAINT "FK_ab0b9ae7420a3d2b9fab377aecf" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
466
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" ADD CONSTRAINT "FK_53b94ec0ab89b4d60e325cf07cb" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
467
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" ADD CONSTRAINT "FK_f8873726c7b8c24b7b86e61e719" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
468
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" ADD CONSTRAINT "FK_f83659d44dadb229a52c067d036" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
469
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" ADD CONSTRAINT "FK_2e7a1cac52b095d57cec0881ca5" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
470
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" ADD CONSTRAINT "FK_d6069d9e4e6288a42e2ae591ab4" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
471
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabel" ADD CONSTRAINT "FK_963be9e3b50017b2a557ca9e01b" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
472
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabel" ADD CONSTRAINT "FK_2f020ddc2c90111560ca6c6c858" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
473
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" ADD CONSTRAINT "FK_2cdd58ac0c75e015836665ac34a" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
474
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" ADD CONSTRAINT "FK_193e7ab49242b2921fa74a376d8" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
475
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" ADD CONSTRAINT "FK_0dac439700a797d57a3e4352507" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
476
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" ADD CONSTRAINT "FK_31b13695f386336f5931613addb" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
477
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabel" ADD CONSTRAINT "FK_b7997e08a5243861e8fcf92736e" FOREIGN KEY ("dockerSwarmClusterId") REFERENCES "DockerSwarmCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
478
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabel" ADD CONSTRAINT "FK_bd74d53e6b4444fbea902289b80" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
479
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanHost" ADD CONSTRAINT "FK_9eb9f35b16317b0dfa52559fb7e" FOREIGN KEY ("incidentId") REFERENCES "Incident"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
480
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanHost" ADD CONSTRAINT "FK_eb62c596a88ac1fbecbf6e7b5ef" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
481
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" ADD CONSTRAINT "FK_5c785147c7c0f89c2d35f4b8e59" FOREIGN KEY ("incidentId") REFERENCES "Incident"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
482
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" ADD CONSTRAINT "FK_be19aae8dadb71f8ed1677dac39" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
483
|
+
await queryRunner.query(`ALTER TABLE "IncidentDockerSwarmCluster" ADD CONSTRAINT "FK_35e52af3b3b4a92ef493108eab0" FOREIGN KEY ("incidentId") REFERENCES "Incident"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
484
|
+
await queryRunner.query(`ALTER TABLE "IncidentDockerSwarmCluster" ADD CONSTRAINT "FK_97f9afdbe158e3f5374b781207b" FOREIGN KEY ("dockerSwarmClusterId") REFERENCES "DockerSwarmCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
485
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" ADD CONSTRAINT "FK_860bf95d284d2576bfbf6b82825" FOREIGN KEY ("incidentId") REFERENCES "Incident"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
486
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" ADD CONSTRAINT "FK_86dc37aa8f2fa9db0b80fa9ac01" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
487
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanResource" ADD CONSTRAINT "FK_eaf5254c3134daa3a9b6b4a7393" FOREIGN KEY ("incidentId") REFERENCES "Incident"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
488
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanResource" ADD CONSTRAINT "FK_b0ec9d08d69cc9f2d471720f9e8" FOREIGN KEY ("podmanResourceId") REFERENCES "PodmanResource"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
489
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanHost" ADD CONSTRAINT "FK_4cda1d6f5a80bc5bdd5bca3acf8" FOREIGN KEY ("alertId") REFERENCES "Alert"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
490
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanHost" ADD CONSTRAINT "FK_85a5c53459ff51c256023f23184" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
491
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" ADD CONSTRAINT "FK_9c83996a399a3fbff47cac5afbf" FOREIGN KEY ("alertId") REFERENCES "Alert"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
492
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" ADD CONSTRAINT "FK_90e2c01e08dbe8d8f8ba2e71ab9" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
493
|
+
await queryRunner.query(`ALTER TABLE "AlertDockerSwarmCluster" ADD CONSTRAINT "FK_748fededf06332f3f6df0c466d1" FOREIGN KEY ("alertId") REFERENCES "Alert"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
494
|
+
await queryRunner.query(`ALTER TABLE "AlertDockerSwarmCluster" ADD CONSTRAINT "FK_779405e1f328c3d75bcf5179386" FOREIGN KEY ("dockerSwarmClusterId") REFERENCES "DockerSwarmCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
495
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" ADD CONSTRAINT "FK_07f55cbd5789397c8f15b880840" FOREIGN KEY ("alertId") REFERENCES "Alert"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
496
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" ADD CONSTRAINT "FK_aae64dd7cbf048a5d2dba1ae061" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
497
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanResource" ADD CONSTRAINT "FK_376e4cea18a6af797b7ea7ccd0a" FOREIGN KEY ("alertId") REFERENCES "Alert"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
498
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanResource" ADD CONSTRAINT "FK_05fbcff360b0be1652c8948b8a6" FOREIGN KEY ("podmanResourceId") REFERENCES "PodmanResource"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
499
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenancePodmanHost" ADD CONSTRAINT "FK_570b3e04f016052bf8ef7bf70a9" FOREIGN KEY ("scheduledMaintenanceId") REFERENCES "ScheduledMaintenance"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
500
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenancePodmanHost" ADD CONSTRAINT "FK_c12b4d3465796bbbabba37ffe6f" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
501
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" ADD CONSTRAINT "FK_4909077e8ee1c8b44c4df81f5b7" FOREIGN KEY ("scheduledMaintenanceId") REFERENCES "ScheduledMaintenance"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
502
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" ADD CONSTRAINT "FK_82f74b0e34421ab57ba2fce1875" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
503
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceDockerSwarmCluster" ADD CONSTRAINT "FK_5c0abc005361dfa415d0d065fdc" FOREIGN KEY ("scheduledMaintenanceId") REFERENCES "ScheduledMaintenance"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
504
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceDockerSwarmCluster" ADD CONSTRAINT "FK_1f193f2ad985e7548ff4dc135a7" FOREIGN KEY ("dockerSwarmClusterId") REFERENCES "DockerSwarmCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
505
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" ADD CONSTRAINT "FK_de2d7f0647ea22ea71a0715777f" FOREIGN KEY ("scheduledMaintenanceId") REFERENCES "ScheduledMaintenance"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
506
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" ADD CONSTRAINT "FK_3676443235656830b9606f218a1" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
507
|
+
await queryRunner.query(`ALTER TABLE "IncidentTemplatePodmanHost" ADD CONSTRAINT "FK_684416928f6c99c022a9fcb956c" FOREIGN KEY ("incidentTemplateId") REFERENCES "IncidentTemplate"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
508
|
+
await queryRunner.query(`ALTER TABLE "IncidentTemplatePodmanHost" ADD CONSTRAINT "FK_16a36a504da94535ccace7f3ddd" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
509
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceTemplatePodmanHost" ADD CONSTRAINT "FK_c27b4872168d6e85283c622f77e" FOREIGN KEY ("scheduledMaintenanceTemplateId") REFERENCES "ScheduledMaintenanceTemplate"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
510
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceTemplatePodmanHost" ADD CONSTRAINT "FK_b4d6ffbc8648a1c528163780df0" FOREIGN KEY ("podmanHostId") REFERENCES "PodmanHost"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
511
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRulePodmanHostLabel" ADD CONSTRAINT "FK_ef545387a8be6a10b08ca00bbf5" FOREIGN KEY ("podmanHostOwnerRuleId") REFERENCES "PodmanHostOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
512
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRulePodmanHostLabel" ADD CONSTRAINT "FK_94afece69d250184817bf6a5686" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
513
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerUser" ADD CONSTRAINT "FK_fa038c593b2c42c23bc65c73cf0" FOREIGN KEY ("podmanHostOwnerRuleId") REFERENCES "PodmanHostOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
514
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerUser" ADD CONSTRAINT "FK_f00a7bcddc0efb222d8fcb81d32" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
515
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_6e8445007db31ef701a2248961b" FOREIGN KEY ("podmanHostOwnerRuleId") REFERENCES "PodmanHostOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
516
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_405743c3dd0e0faa6f7e089bef4" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
517
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRulePodmanHostLabel" ADD CONSTRAINT "FK_b48a7966e476621a21da591998d" FOREIGN KEY ("podmanHostLabelRuleId") REFERENCES "PodmanHostLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
518
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRulePodmanHostLabel" ADD CONSTRAINT "FK_7f630e2bab87bdcff1a441113ba" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
519
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRuleLabelToAdd" ADD CONSTRAINT "FK_ce2f37445d6b71cf493e26fcad3" FOREIGN KEY ("podmanHostLabelRuleId") REFERENCES "PodmanHostLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
520
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRuleLabelToAdd" ADD CONSTRAINT "FK_2af4c6a46729e35d643f4695f16" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
521
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_9bbe37882540332ba4cbf3890df" FOREIGN KEY ("proxmoxClusterOwnerRuleId") REFERENCES "ProxmoxClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
522
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_e2c7c48a6d3692cfbee000f70a0" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
523
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_068678ab2a3311f44da54731235" FOREIGN KEY ("proxmoxClusterOwnerRuleId") REFERENCES "ProxmoxClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
524
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_63be7205c7338bd554e3c4d8760" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
525
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_590d66e6ab9c143812be3de8df6" FOREIGN KEY ("proxmoxClusterOwnerRuleId") REFERENCES "ProxmoxClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
526
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_6dfb944a71fec6548bd7b6b74cf" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
527
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel" ADD CONSTRAINT "FK_b669ac4df3047328cc45537aa40" FOREIGN KEY ("dockerSwarmClusterOwnerRuleId") REFERENCES "DockerSwarmClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
528
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel" ADD CONSTRAINT "FK_bc7cbff2b12d67ab7ffead983c6" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
529
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_958ff23ca1e0eec6bf6a3cd232d" FOREIGN KEY ("dockerSwarmClusterOwnerRuleId") REFERENCES "DockerSwarmClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
530
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_f0f400a618723e79a45150d3535" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
531
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_aad5be7d54f997354c62f42f5e9" FOREIGN KEY ("dockerSwarmClusterOwnerRuleId") REFERENCES "DockerSwarmClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
532
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_e3a5a7a9c2551330e01a39ee506" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
533
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_8efffa71d1874f710d30caeeac6" FOREIGN KEY ("proxmoxClusterLabelRuleId") REFERENCES "ProxmoxClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
534
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_282407ee16f1b9c739c6841e2b4" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
535
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_b9875bc3bb7ebede405623b4169" FOREIGN KEY ("proxmoxClusterLabelRuleId") REFERENCES "ProxmoxClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
536
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_b7eb12459f56dcd7d94a289759a" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
537
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel" ADD CONSTRAINT "FK_ad36a264745163d6cc2443d7d1a" FOREIGN KEY ("dockerSwarmClusterLabelRuleId") REFERENCES "DockerSwarmClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
538
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel" ADD CONSTRAINT "FK_954aa7dad00610dd61808d21584" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
539
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_73e41be2a180b4b7cd62acade94" FOREIGN KEY ("dockerSwarmClusterLabelRuleId") REFERENCES "DockerSwarmClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
540
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_a82d8ac4bda5274e0114c23afe0" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
541
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" ADD CONSTRAINT "FK_3b51e30fce3abd99edd751ea055" FOREIGN KEY ("cephClusterOwnerRuleId") REFERENCES "CephClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
542
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" ADD CONSTRAINT "FK_634d778c8d0c658b1cdc72ed932" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
543
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_d42f9b12b651c609cafca1f3c48" FOREIGN KEY ("cephClusterOwnerRuleId") REFERENCES "CephClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
544
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_9d21c2166120cb4c0dca8526276" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
545
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_c8beb21b3a727c915bee26b3b09" FOREIGN KEY ("cephClusterOwnerRuleId") REFERENCES "CephClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
546
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_cb0b405cda0e7e57bba84e3835e" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
547
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" ADD CONSTRAINT "FK_b92ce422f7d8739ca64309a148a" FOREIGN KEY ("cephClusterLabelRuleId") REFERENCES "CephClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
548
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" ADD CONSTRAINT "FK_0c5ffa49420aee93d38cd185cde" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
549
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_8e1f9045b0678004b38aadb209d" FOREIGN KEY ("cephClusterLabelRuleId") REFERENCES "CephClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
550
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_b8b6bacc78025431f6947702fbe" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
551
|
+
}
|
|
552
|
+
async down(queryRunner) {
|
|
553
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_b8b6bacc78025431f6947702fbe"`);
|
|
554
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_8e1f9045b0678004b38aadb209d"`);
|
|
555
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" DROP CONSTRAINT "FK_0c5ffa49420aee93d38cd185cde"`);
|
|
556
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" DROP CONSTRAINT "FK_b92ce422f7d8739ca64309a148a"`);
|
|
557
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_cb0b405cda0e7e57bba84e3835e"`);
|
|
558
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_c8beb21b3a727c915bee26b3b09"`);
|
|
559
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_9d21c2166120cb4c0dca8526276"`);
|
|
560
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_d42f9b12b651c609cafca1f3c48"`);
|
|
561
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" DROP CONSTRAINT "FK_634d778c8d0c658b1cdc72ed932"`);
|
|
562
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" DROP CONSTRAINT "FK_3b51e30fce3abd99edd751ea055"`);
|
|
563
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_a82d8ac4bda5274e0114c23afe0"`);
|
|
564
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_73e41be2a180b4b7cd62acade94"`);
|
|
565
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel" DROP CONSTRAINT "FK_954aa7dad00610dd61808d21584"`);
|
|
566
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel" DROP CONSTRAINT "FK_ad36a264745163d6cc2443d7d1a"`);
|
|
567
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_b7eb12459f56dcd7d94a289759a"`);
|
|
568
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" DROP CONSTRAINT "FK_b9875bc3bb7ebede405623b4169"`);
|
|
569
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_282407ee16f1b9c739c6841e2b4"`);
|
|
570
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_8efffa71d1874f710d30caeeac6"`);
|
|
571
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_e3a5a7a9c2551330e01a39ee506"`);
|
|
572
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_aad5be7d54f997354c62f42f5e9"`);
|
|
573
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_f0f400a618723e79a45150d3535"`);
|
|
574
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_958ff23ca1e0eec6bf6a3cd232d"`);
|
|
575
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel" DROP CONSTRAINT "FK_bc7cbff2b12d67ab7ffead983c6"`);
|
|
576
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel" DROP CONSTRAINT "FK_b669ac4df3047328cc45537aa40"`);
|
|
577
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_6dfb944a71fec6548bd7b6b74cf"`);
|
|
578
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_590d66e6ab9c143812be3de8df6"`);
|
|
579
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_63be7205c7338bd554e3c4d8760"`);
|
|
580
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" DROP CONSTRAINT "FK_068678ab2a3311f44da54731235"`);
|
|
581
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_e2c7c48a6d3692cfbee000f70a0"`);
|
|
582
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" DROP CONSTRAINT "FK_9bbe37882540332ba4cbf3890df"`);
|
|
583
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRuleLabelToAdd" DROP CONSTRAINT "FK_2af4c6a46729e35d643f4695f16"`);
|
|
584
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRuleLabelToAdd" DROP CONSTRAINT "FK_ce2f37445d6b71cf493e26fcad3"`);
|
|
585
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRulePodmanHostLabel" DROP CONSTRAINT "FK_7f630e2bab87bdcff1a441113ba"`);
|
|
586
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRulePodmanHostLabel" DROP CONSTRAINT "FK_b48a7966e476621a21da591998d"`);
|
|
587
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_405743c3dd0e0faa6f7e089bef4"`);
|
|
588
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerTeam" DROP CONSTRAINT "FK_6e8445007db31ef701a2248961b"`);
|
|
589
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerUser" DROP CONSTRAINT "FK_f00a7bcddc0efb222d8fcb81d32"`);
|
|
590
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRuleOwnerUser" DROP CONSTRAINT "FK_fa038c593b2c42c23bc65c73cf0"`);
|
|
591
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRulePodmanHostLabel" DROP CONSTRAINT "FK_94afece69d250184817bf6a5686"`);
|
|
592
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRulePodmanHostLabel" DROP CONSTRAINT "FK_ef545387a8be6a10b08ca00bbf5"`);
|
|
593
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceTemplatePodmanHost" DROP CONSTRAINT "FK_b4d6ffbc8648a1c528163780df0"`);
|
|
594
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceTemplatePodmanHost" DROP CONSTRAINT "FK_c27b4872168d6e85283c622f77e"`);
|
|
595
|
+
await queryRunner.query(`ALTER TABLE "IncidentTemplatePodmanHost" DROP CONSTRAINT "FK_16a36a504da94535ccace7f3ddd"`);
|
|
596
|
+
await queryRunner.query(`ALTER TABLE "IncidentTemplatePodmanHost" DROP CONSTRAINT "FK_684416928f6c99c022a9fcb956c"`);
|
|
597
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" DROP CONSTRAINT "FK_3676443235656830b9606f218a1"`);
|
|
598
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" DROP CONSTRAINT "FK_de2d7f0647ea22ea71a0715777f"`);
|
|
599
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceDockerSwarmCluster" DROP CONSTRAINT "FK_1f193f2ad985e7548ff4dc135a7"`);
|
|
600
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceDockerSwarmCluster" DROP CONSTRAINT "FK_5c0abc005361dfa415d0d065fdc"`);
|
|
601
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" DROP CONSTRAINT "FK_82f74b0e34421ab57ba2fce1875"`);
|
|
602
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" DROP CONSTRAINT "FK_4909077e8ee1c8b44c4df81f5b7"`);
|
|
603
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenancePodmanHost" DROP CONSTRAINT "FK_c12b4d3465796bbbabba37ffe6f"`);
|
|
604
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenancePodmanHost" DROP CONSTRAINT "FK_570b3e04f016052bf8ef7bf70a9"`);
|
|
605
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanResource" DROP CONSTRAINT "FK_05fbcff360b0be1652c8948b8a6"`);
|
|
606
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanResource" DROP CONSTRAINT "FK_376e4cea18a6af797b7ea7ccd0a"`);
|
|
607
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" DROP CONSTRAINT "FK_aae64dd7cbf048a5d2dba1ae061"`);
|
|
608
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" DROP CONSTRAINT "FK_07f55cbd5789397c8f15b880840"`);
|
|
609
|
+
await queryRunner.query(`ALTER TABLE "AlertDockerSwarmCluster" DROP CONSTRAINT "FK_779405e1f328c3d75bcf5179386"`);
|
|
610
|
+
await queryRunner.query(`ALTER TABLE "AlertDockerSwarmCluster" DROP CONSTRAINT "FK_748fededf06332f3f6df0c466d1"`);
|
|
611
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" DROP CONSTRAINT "FK_90e2c01e08dbe8d8f8ba2e71ab9"`);
|
|
612
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" DROP CONSTRAINT "FK_9c83996a399a3fbff47cac5afbf"`);
|
|
613
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanHost" DROP CONSTRAINT "FK_85a5c53459ff51c256023f23184"`);
|
|
614
|
+
await queryRunner.query(`ALTER TABLE "AlertPodmanHost" DROP CONSTRAINT "FK_4cda1d6f5a80bc5bdd5bca3acf8"`);
|
|
615
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanResource" DROP CONSTRAINT "FK_b0ec9d08d69cc9f2d471720f9e8"`);
|
|
616
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanResource" DROP CONSTRAINT "FK_eaf5254c3134daa3a9b6b4a7393"`);
|
|
617
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" DROP CONSTRAINT "FK_86dc37aa8f2fa9db0b80fa9ac01"`);
|
|
618
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" DROP CONSTRAINT "FK_860bf95d284d2576bfbf6b82825"`);
|
|
619
|
+
await queryRunner.query(`ALTER TABLE "IncidentDockerSwarmCluster" DROP CONSTRAINT "FK_97f9afdbe158e3f5374b781207b"`);
|
|
620
|
+
await queryRunner.query(`ALTER TABLE "IncidentDockerSwarmCluster" DROP CONSTRAINT "FK_35e52af3b3b4a92ef493108eab0"`);
|
|
621
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" DROP CONSTRAINT "FK_be19aae8dadb71f8ed1677dac39"`);
|
|
622
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" DROP CONSTRAINT "FK_5c785147c7c0f89c2d35f4b8e59"`);
|
|
623
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanHost" DROP CONSTRAINT "FK_eb62c596a88ac1fbecbf6e7b5ef"`);
|
|
624
|
+
await queryRunner.query(`ALTER TABLE "IncidentPodmanHost" DROP CONSTRAINT "FK_9eb9f35b16317b0dfa52559fb7e"`);
|
|
625
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabel" DROP CONSTRAINT "FK_bd74d53e6b4444fbea902289b80"`);
|
|
626
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabel" DROP CONSTRAINT "FK_b7997e08a5243861e8fcf92736e"`);
|
|
627
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" DROP CONSTRAINT "FK_31b13695f386336f5931613addb"`);
|
|
628
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" DROP CONSTRAINT "FK_0dac439700a797d57a3e4352507"`);
|
|
629
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" DROP CONSTRAINT "FK_193e7ab49242b2921fa74a376d8"`);
|
|
630
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" DROP CONSTRAINT "FK_2cdd58ac0c75e015836665ac34a"`);
|
|
631
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabel" DROP CONSTRAINT "FK_2f020ddc2c90111560ca6c6c858"`);
|
|
632
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabel" DROP CONSTRAINT "FK_963be9e3b50017b2a557ca9e01b"`);
|
|
633
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" DROP CONSTRAINT "FK_d6069d9e4e6288a42e2ae591ab4"`);
|
|
634
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" DROP CONSTRAINT "FK_2e7a1cac52b095d57cec0881ca5"`);
|
|
635
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" DROP CONSTRAINT "FK_f83659d44dadb229a52c067d036"`);
|
|
636
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" DROP CONSTRAINT "FK_f8873726c7b8c24b7b86e61e719"`);
|
|
637
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" DROP CONSTRAINT "FK_53b94ec0ab89b4d60e325cf07cb"`);
|
|
638
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" DROP CONSTRAINT "FK_ab0b9ae7420a3d2b9fab377aecf"`);
|
|
639
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRule" DROP CONSTRAINT "FK_8a0e7ea04b63d004707fb57a5d9"`);
|
|
640
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRule" DROP CONSTRAINT "FK_2bd80c032859ea0647c9765b04d"`);
|
|
641
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterLabelRule" DROP CONSTRAINT "FK_47befb0affc3555f9ffb0a24f5e"`);
|
|
642
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" DROP CONSTRAINT "FK_e4e7baa610b7616a93afe2c9401"`);
|
|
643
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" DROP CONSTRAINT "FK_d9165315ae1e802ea4fbd45c362"`);
|
|
644
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" DROP CONSTRAINT "FK_edfb1d585dc24c8556d4e58cff0"`);
|
|
645
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRule" DROP CONSTRAINT "FK_7e805f0febacc2caf7095d38d27"`);
|
|
646
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRule" DROP CONSTRAINT "FK_25ca09d7c8f677e1e2e13643cea"`);
|
|
647
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerRule" DROP CONSTRAINT "FK_8121caf22dfcca8a881b226e2e5"`);
|
|
648
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" DROP CONSTRAINT "FK_dcdd2a2c789fdafe36c877b629b"`);
|
|
649
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" DROP CONSTRAINT "FK_4b7e6b09ea7040671e2a24b1197"`);
|
|
650
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" DROP CONSTRAINT "FK_bd4333af455c31d4cded38ce981"`);
|
|
651
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRule" DROP CONSTRAINT "FK_53fcb8f37ffe0d9a33edec682c2"`);
|
|
652
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRule" DROP CONSTRAINT "FK_83cc82fa981ec2cd84029bbe609"`);
|
|
653
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostLabelRule" DROP CONSTRAINT "FK_19e3a8fa3eb64d672086c0af8b3"`);
|
|
654
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRule" DROP CONSTRAINT "FK_2f1d57a0a6278c0c10dca051152"`);
|
|
655
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRule" DROP CONSTRAINT "FK_30ce3c714e334beed1bb626f501"`);
|
|
656
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerRule" DROP CONSTRAINT "FK_93e77721dea2b48aa8343dcb1cf"`);
|
|
657
|
+
await queryRunner.query(`ALTER TABLE "Host" DROP CONSTRAINT "FK_1d1472a3626fabd92feeb1db9b1"`);
|
|
658
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_3ef04d7364c547f9bdc63c84d79"`);
|
|
659
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_7efa5d5d3342549b926cb236524"`);
|
|
660
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_cce1a652f3027d5fcfc1d736076"`);
|
|
661
|
+
await queryRunner.query(`ALTER TABLE "CephResource" DROP CONSTRAINT "FK_8be4ae9090dcd46257fb7f08c66"`);
|
|
662
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_1f6621f7b7c6fae18ca69412e31"`);
|
|
663
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_ecb1a61d6dabc7f348f9e15b82c"`);
|
|
664
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_cad804611b20c69d1f0a7877126"`);
|
|
665
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_29e85704dca21ea364785783fe2"`);
|
|
666
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" DROP CONSTRAINT "FK_7e73257d42affbb4b38f9188b91"`);
|
|
667
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_9db7fe4ecea9d899101e1a5c09b"`);
|
|
668
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_7884ae0bd6a8c0275bc22dc6bde"`);
|
|
669
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_f61243d7350fdf08ff36fa1e99d"`);
|
|
670
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_4588e4038c85b41a6256e828d08"`);
|
|
671
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" DROP CONSTRAINT "FK_e6608f1702b29208445ebedfe25"`);
|
|
672
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" DROP CONSTRAINT "FK_480af1c3b24d7a06c857460cec3"`);
|
|
673
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" DROP CONSTRAINT "FK_3c1e1d255dbe7567ab54443e004"`);
|
|
674
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" DROP CONSTRAINT "FK_2ed38fa32b40829634bd9d5358c"`);
|
|
675
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmResource" DROP CONSTRAINT "FK_8fcc617a6fc021aa036f629d096"`);
|
|
676
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_9f5b91e77509f790c71888d73af"`);
|
|
677
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_73d0f066c4322a19cd3da9dd8f9"`);
|
|
678
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_25bbc77dc86c8c2de6ab1679e43"`);
|
|
679
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" DROP CONSTRAINT "FK_46e791b3b6a3b0aa95d5ed6cc18"`);
|
|
680
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" DROP CONSTRAINT "FK_fc398d618da640affc0b5bc2067"`);
|
|
681
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" DROP CONSTRAINT "FK_da5d8aba1298eb2ae1df3c89744"`);
|
|
682
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" DROP CONSTRAINT "FK_3979506b4c309d926591592b4d7"`);
|
|
683
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" DROP CONSTRAINT "FK_f46e9f5be673995c7fdf4392a2d"`);
|
|
684
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerUser" DROP CONSTRAINT "FK_970fff1275934e2f74f5e1b5d85"`);
|
|
685
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_6a90d5141b0c9854c32a8ca4c8e"`);
|
|
686
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_15585b88e233fc149f706268b0f"`);
|
|
687
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_591eb5cdcff159dcb1a9114022f"`);
|
|
688
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_6bb75d46d3a511149a80b212b39"`);
|
|
689
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" DROP CONSTRAINT "FK_21a264a4622ba591367825aa9e1"`);
|
|
690
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" DROP CONSTRAINT "FK_3e5dc2c6bde8e7edc53ebd68e1e"`);
|
|
691
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" DROP CONSTRAINT "FK_505c1de8cb3863f2d8e49986349"`);
|
|
692
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" DROP CONSTRAINT "FK_e57b7bc99f03f67c8ad7a1eec2b"`);
|
|
693
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" DROP CONSTRAINT "FK_881424e5f7f5b7b585ee8571770"`);
|
|
694
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmClusterOwnerTeam" DROP CONSTRAINT "FK_5c8715c9bbe097fae9d47f84f6f"`);
|
|
695
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_26cbfc7eba8141ece8c684c770b"`);
|
|
696
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_1ca2afe281a8321d013d28ef494"`);
|
|
697
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_491a7d288d0f1654c45bd3e6b4c"`);
|
|
698
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_ca566ba685de7dd978b4baed08b"`);
|
|
699
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" DROP CONSTRAINT "FK_160397e8592834d4b98fc535f6a"`);
|
|
700
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmCluster" DROP CONSTRAINT "FK_b0b79b94e54b04805af8215e781"`);
|
|
701
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmCluster" DROP CONSTRAINT "FK_8b49a7928b1e024a95b5d867f2d"`);
|
|
702
|
+
await queryRunner.query(`ALTER TABLE "DockerSwarmCluster" DROP CONSTRAINT "FK_da881ec7c4c22ca15813941e8dc"`);
|
|
703
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_5ea525bb98954059807e2d78188"`);
|
|
704
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_024306bb97b69b0e2ce31e72af0"`);
|
|
705
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_f6adcec1177f99f7e1474d39102"`);
|
|
706
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" DROP CONSTRAINT "FK_fd63bd3b519ced2c486cf543e07"`);
|
|
707
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" DROP CONSTRAINT "FK_4ed976be4233caef7e2870809bf"`);
|
|
708
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" DROP CONSTRAINT "FK_6ce38fbca245d24d9c9291bc0aa"`);
|
|
709
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" DROP CONSTRAINT "FK_20216ec3277986d5ae08fd97bbc"`);
|
|
710
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" DROP CONSTRAINT "FK_ee3ba0f5cf06521b69737f557bd"`);
|
|
711
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" DROP CONSTRAINT "FK_455a9f7e73013478864ec09b245"`);
|
|
712
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" DROP CONSTRAINT "FK_bed5c2772bfe0c0e830c3532b72"`);
|
|
713
|
+
await queryRunner.query(`ALTER TABLE "PodmanResource" DROP CONSTRAINT "FK_7e634b27917c3b9e8097825843e"`);
|
|
714
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" DROP CONSTRAINT "FK_1f25293571ef8e2463395752fd9"`);
|
|
715
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" DROP CONSTRAINT "FK_71ebaf0b0f13eaa695364809620"`);
|
|
716
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" DROP CONSTRAINT "FK_6cd03329fe875288a708b233b47"`);
|
|
717
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" DROP CONSTRAINT "FK_2cecebbab6116b69a956486662e"`);
|
|
718
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerUser" DROP CONSTRAINT "FK_ea369857823e55e8c21a27a3b7b"`);
|
|
719
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" DROP CONSTRAINT "FK_60e39785a25e87094f3c26f1a31"`);
|
|
720
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" DROP CONSTRAINT "FK_4afb8e67cb5091d0516f5367838"`);
|
|
721
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" DROP CONSTRAINT "FK_9621e9bcc51de9020a80cbc2a3a"`);
|
|
722
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" DROP CONSTRAINT "FK_4a26aefc1de15f94048ef3b45cf"`);
|
|
723
|
+
await queryRunner.query(`ALTER TABLE "PodmanHostOwnerTeam" DROP CONSTRAINT "FK_76c44007c314e08a38f281c2a20"`);
|
|
724
|
+
await queryRunner.query(`ALTER TABLE "PodmanHost" DROP CONSTRAINT "FK_d3489b9ce7bbc6d188532380465"`);
|
|
725
|
+
await queryRunner.query(`ALTER TABLE "PodmanHost" DROP CONSTRAINT "FK_226968cb67b75a269fd4afc8e21"`);
|
|
726
|
+
await queryRunner.query(`ALTER TABLE "PodmanHost" DROP CONSTRAINT "FK_800ec09eb585cdb5e4c643ef51b"`);
|
|
727
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b8b6bacc78025431f6947702fb"`);
|
|
728
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_8e1f9045b0678004b38aadb209"`);
|
|
729
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_0c5ffa49420aee93d38cd185cd"`);
|
|
730
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b92ce422f7d8739ca64309a148"`);
|
|
731
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_cb0b405cda0e7e57bba84e3835"`);
|
|
732
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_c8beb21b3a727c915bee26b3b0"`);
|
|
733
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_9d21c2166120cb4c0dca852627"`);
|
|
734
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_d42f9b12b651c609cafca1f3c4"`);
|
|
735
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_634d778c8d0c658b1cdc72ed93"`);
|
|
736
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_3b51e30fce3abd99edd751ea05"`);
|
|
737
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b7eb12459f56dcd7d94a289759"`);
|
|
738
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b9875bc3bb7ebede405623b416"`);
|
|
739
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_282407ee16f1b9c739c6841e2b"`);
|
|
740
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_8efffa71d1874f710d30caeeac"`);
|
|
741
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_6dfb944a71fec6548bd7b6b74c"`);
|
|
742
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_590d66e6ab9c143812be3de8df"`);
|
|
743
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_63be7205c7338bd554e3c4d876"`);
|
|
744
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_068678ab2a3311f44da5473123"`);
|
|
745
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_e2c7c48a6d3692cfbee000f70a"`);
|
|
746
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_9bbe37882540332ba4cbf3890d"`);
|
|
747
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_3676443235656830b9606f218a"`);
|
|
748
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_de2d7f0647ea22ea71a0715777"`);
|
|
749
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_82f74b0e34421ab57ba2fce187"`);
|
|
750
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_4909077e8ee1c8b44c4df81f5b"`);
|
|
751
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_aae64dd7cbf048a5d2dba1ae06"`);
|
|
752
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_07f55cbd5789397c8f15b88084"`);
|
|
753
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_90e2c01e08dbe8d8f8ba2e71ab"`);
|
|
754
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_9c83996a399a3fbff47cac5afb"`);
|
|
755
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_86dc37aa8f2fa9db0b80fa9ac0"`);
|
|
756
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_860bf95d284d2576bfbf6b8282"`);
|
|
757
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_be19aae8dadb71f8ed1677dac3"`);
|
|
758
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_5c785147c7c0f89c2d35f4b8e5"`);
|
|
759
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_31b13695f386336f5931613add"`);
|
|
760
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_0dac439700a797d57a3e435250"`);
|
|
761
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_193e7ab49242b2921fa74a376d"`);
|
|
762
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_2cdd58ac0c75e015836665ac34"`);
|
|
763
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_172eae17e5baa493be1f1514ac"`);
|
|
764
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ba94a20640228182041a8bd943"`);
|
|
765
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_f83659d44dadb229a52c067d03"`);
|
|
766
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ac11fdc69267ba6ba3cf18d1b6"`);
|
|
767
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_de22ab53ad7d3b33e7191a6631"`);
|
|
768
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ab0b9ae7420a3d2b9fab377aec"`);
|
|
769
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_5de020980441cfb158b38068da"`);
|
|
770
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_c30ba63ee7922bb479dc102527"`);
|
|
771
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_edfb1d585dc24c8556d4e58cff"`);
|
|
772
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_c5ac142817cff8d50fb900d674"`);
|
|
773
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_7807258051c6a7ed1f0a2d8192"`);
|
|
774
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_bd4333af455c31d4cded38ce98"`);
|
|
775
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_99d0abf478d3b07acf11e5d86b"`);
|
|
776
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_cce1a652f3027d5fcfc1d73607"`);
|
|
777
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_8be4ae9090dcd46257fb7f08c6"`);
|
|
778
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_66b88e08f836fcf752ddb1f8c3"`);
|
|
779
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_cad804611b20c69d1f0a787712"`);
|
|
780
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_29e85704dca21ea364785783fe"`);
|
|
781
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_7e73257d42affbb4b38f9188b9"`);
|
|
782
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_44bb972b76964d1270b61cefd9"`);
|
|
783
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_f61243d7350fdf08ff36fa1e99"`);
|
|
784
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_4588e4038c85b41a6256e828d0"`);
|
|
785
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_e6608f1702b29208445ebedfe2"`);
|
|
786
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_62a0ea57abd7d0da8b5284ab9e"`);
|
|
787
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_25bbc77dc86c8c2de6ab1679e4"`);
|
|
788
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_46e791b3b6a3b0aa95d5ed6cc1"`);
|
|
789
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_201a165158883596a94abdaa8f"`);
|
|
790
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_591eb5cdcff159dcb1a9114022"`);
|
|
791
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_6bb75d46d3a511149a80b212b3"`);
|
|
792
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_21a264a4622ba591367825aa9e"`);
|
|
793
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_8c8fa15b899205a6b0ec6b59fc"`);
|
|
794
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_491a7d288d0f1654c45bd3e6b4"`);
|
|
795
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ca566ba685de7dd978b4baed08"`);
|
|
796
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_160397e8592834d4b98fc535f6"`);
|
|
797
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_56d036d93cc784c11884832364"`);
|
|
798
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_9de7a23debe809301538ef8368"`);
|
|
799
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_fd63bd3b519ced2c486cf543e0"`);
|
|
800
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_6c21ee141871ea340e9fc64f1e"`);
|
|
801
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_aafaa4bdec6d42b5770c41c61a"`);
|
|
802
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_20216ec3277986d5ae08fd97bb"`);
|
|
803
|
+
await queryRunner.query(`ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "restrictionTimes" SET DEFAULT '{"_type": "RestrictionTimes", "value": {"restictionType": "None", "dayRestrictionTimes": null, "weeklyRestrictionTimes": []}}'`);
|
|
804
|
+
await queryRunner.query(`ALTER TABLE "OnCallDutyPolicyScheduleLayer" ALTER COLUMN "rotation" SET DEFAULT '{"_type": "Recurring", "value": {"intervalType": "Day", "intervalCount": {"_type": "PositiveNumber", "value": 1}}}'`);
|
|
805
|
+
await queryRunner.query(`ALTER TABLE "Project" DROP COLUMN "financeAccountingEmail"`);
|
|
806
|
+
await queryRunner.query(`ALTER TABLE "Project" ADD "financeAccountingEmail" character varying(100)`);
|
|
807
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceLabelRule" DROP COLUMN "inheritLabelsFromPodmanHosts"`);
|
|
808
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceOwnerRule" DROP COLUMN "inheritOwnersFromPodmanHosts"`);
|
|
809
|
+
await queryRunner.query(`ALTER TABLE "IncidentLabelRule" DROP COLUMN "inheritLabelsFromPodmanHosts"`);
|
|
810
|
+
await queryRunner.query(`ALTER TABLE "IncidentOwnerRule" DROP COLUMN "inheritOwnersFromPodmanHosts"`);
|
|
811
|
+
await queryRunner.query(`ALTER TABLE "AlertLabelRule" DROP COLUMN "inheritLabelsFromPodmanHosts"`);
|
|
812
|
+
await queryRunner.query(`ALTER TABLE "AlertOwnerRule" DROP COLUMN "inheritOwnersFromPodmanHosts"`);
|
|
813
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_a82d8ac4bda5274e0114c23afe"`);
|
|
814
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_73e41be2a180b4b7cd62acade9"`);
|
|
815
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterLabelRuleLabelToAdd"`);
|
|
816
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_954aa7dad00610dd61808d2158"`);
|
|
817
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ad36a264745163d6cc2443d7d1"`);
|
|
818
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterLabelRuleDockerSwarmClusterLabel"`);
|
|
819
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_e3a5a7a9c2551330e01a39ee50"`);
|
|
820
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_aad5be7d54f997354c62f42f5e"`);
|
|
821
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterOwnerRuleOwnerTeam"`);
|
|
822
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_f0f400a618723e79a45150d353"`);
|
|
823
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_958ff23ca1e0eec6bf6a3cd232"`);
|
|
824
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterOwnerRuleOwnerUser"`);
|
|
825
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_bc7cbff2b12d67ab7ffead983c"`);
|
|
826
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b669ac4df3047328cc45537aa4"`);
|
|
827
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterOwnerRuleDockerSwarmClusterLabel"`);
|
|
828
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_2af4c6a46729e35d643f4695f1"`);
|
|
829
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ce2f37445d6b71cf493e26fcad"`);
|
|
830
|
+
await queryRunner.query(`DROP TABLE "PodmanHostLabelRuleLabelToAdd"`);
|
|
831
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_7f630e2bab87bdcff1a441113b"`);
|
|
832
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b48a7966e476621a21da591998"`);
|
|
833
|
+
await queryRunner.query(`DROP TABLE "PodmanHostLabelRulePodmanHostLabel"`);
|
|
834
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_405743c3dd0e0faa6f7e089bef"`);
|
|
835
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_6e8445007db31ef701a2248961"`);
|
|
836
|
+
await queryRunner.query(`DROP TABLE "PodmanHostOwnerRuleOwnerTeam"`);
|
|
837
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_f00a7bcddc0efb222d8fcb81d3"`);
|
|
838
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_fa038c593b2c42c23bc65c73cf"`);
|
|
839
|
+
await queryRunner.query(`DROP TABLE "PodmanHostOwnerRuleOwnerUser"`);
|
|
840
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_94afece69d250184817bf6a568"`);
|
|
841
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ef545387a8be6a10b08ca00bbf"`);
|
|
842
|
+
await queryRunner.query(`DROP TABLE "PodmanHostOwnerRulePodmanHostLabel"`);
|
|
843
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b4d6ffbc8648a1c528163780df"`);
|
|
844
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_c27b4872168d6e85283c622f77"`);
|
|
845
|
+
await queryRunner.query(`DROP TABLE "ScheduledMaintenanceTemplatePodmanHost"`);
|
|
846
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_16a36a504da94535ccace7f3dd"`);
|
|
847
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_684416928f6c99c022a9fcb956"`);
|
|
848
|
+
await queryRunner.query(`DROP TABLE "IncidentTemplatePodmanHost"`);
|
|
849
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_1f193f2ad985e7548ff4dc135a"`);
|
|
850
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_5c0abc005361dfa415d0d065fd"`);
|
|
851
|
+
await queryRunner.query(`DROP TABLE "ScheduledMaintenanceDockerSwarmCluster"`);
|
|
852
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_c12b4d3465796bbbabba37ffe6"`);
|
|
853
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_570b3e04f016052bf8ef7bf70a"`);
|
|
854
|
+
await queryRunner.query(`DROP TABLE "ScheduledMaintenancePodmanHost"`);
|
|
855
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_05fbcff360b0be1652c8948b8a"`);
|
|
856
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_376e4cea18a6af797b7ea7ccd0"`);
|
|
857
|
+
await queryRunner.query(`DROP TABLE "AlertPodmanResource"`);
|
|
858
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_779405e1f328c3d75bcf517938"`);
|
|
859
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_748fededf06332f3f6df0c466d"`);
|
|
860
|
+
await queryRunner.query(`DROP TABLE "AlertDockerSwarmCluster"`);
|
|
861
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_85a5c53459ff51c256023f2318"`);
|
|
862
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_4cda1d6f5a80bc5bdd5bca3acf"`);
|
|
863
|
+
await queryRunner.query(`DROP TABLE "AlertPodmanHost"`);
|
|
864
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b0ec9d08d69cc9f2d471720f9e"`);
|
|
865
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_eaf5254c3134daa3a9b6b4a739"`);
|
|
866
|
+
await queryRunner.query(`DROP TABLE "IncidentPodmanResource"`);
|
|
867
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_97f9afdbe158e3f5374b781207"`);
|
|
868
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_35e52af3b3b4a92ef493108eab"`);
|
|
869
|
+
await queryRunner.query(`DROP TABLE "IncidentDockerSwarmCluster"`);
|
|
870
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_eb62c596a88ac1fbecbf6e7b5e"`);
|
|
871
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_9eb9f35b16317b0dfa52559fb7"`);
|
|
872
|
+
await queryRunner.query(`DROP TABLE "IncidentPodmanHost"`);
|
|
873
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_bd74d53e6b4444fbea902289b8"`);
|
|
874
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b7997e08a5243861e8fcf92736"`);
|
|
875
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterLabel"`);
|
|
876
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_2f020ddc2c90111560ca6c6c85"`);
|
|
877
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_963be9e3b50017b2a557ca9e01"`);
|
|
878
|
+
await queryRunner.query(`DROP TABLE "PodmanHostLabel"`);
|
|
879
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_464846b44ced3658bb6e10b0e5"`);
|
|
880
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_911a6c47b2f1917db47ea720e4"`);
|
|
881
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_47befb0affc3555f9ffb0a24f5"`);
|
|
882
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterLabelRule"`);
|
|
883
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b4d68d4f323704f9f71a82a1f4"`);
|
|
884
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_6f372c0441e5e03dc9e495e550"`);
|
|
885
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_8121caf22dfcca8a881b226e2e"`);
|
|
886
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterOwnerRule"`);
|
|
887
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_fbae97f871249243b0ff37d351"`);
|
|
888
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_a73a6f772ac704ec4ac7ad2c2f"`);
|
|
889
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_19e3a8fa3eb64d672086c0af8b"`);
|
|
890
|
+
await queryRunner.query(`DROP TABLE "PodmanHostLabelRule"`);
|
|
891
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_15b1cd2e19609e816fe2a07fc6"`);
|
|
892
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_35436c9438bca225598e8d3527"`);
|
|
893
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_93e77721dea2b48aa8343dcb1c"`);
|
|
894
|
+
await queryRunner.query(`DROP TABLE "PodmanHostOwnerRule"`);
|
|
895
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_b2cae687bd4b70342147c6b1ba"`);
|
|
896
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_2ed38fa32b40829634bd9d5358"`);
|
|
897
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_8fcc617a6fc021aa036f629d09"`);
|
|
898
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmResource"`);
|
|
899
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_7959b1c3201bfd8dc0910e729e"`);
|
|
900
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_3979506b4c309d926591592b4d"`);
|
|
901
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_f46e9f5be673995c7fdf4392a2"`);
|
|
902
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_970fff1275934e2f74f5e1b5d8"`);
|
|
903
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterOwnerUser"`);
|
|
904
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_d24613f10be9188592dc931fd4"`);
|
|
905
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_e57b7bc99f03f67c8ad7a1eec2"`);
|
|
906
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_881424e5f7f5b7b585ee857177"`);
|
|
907
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_5c8715c9bbe097fae9d47f84f6"`);
|
|
908
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmClusterOwnerTeam"`);
|
|
909
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_40b32e922dac4f79635e71494e"`);
|
|
910
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_558572dac77c260fbd488d683e"`);
|
|
911
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_da881ec7c4c22ca15813941e8d"`);
|
|
912
|
+
await queryRunner.query(`DROP TABLE "DockerSwarmCluster"`);
|
|
913
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_772c02b6419beb57fa47ccae1b"`);
|
|
914
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_bed5c2772bfe0c0e830c3532b7"`);
|
|
915
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_7e634b27917c3b9e8097825843"`);
|
|
916
|
+
await queryRunner.query(`DROP TABLE "PodmanResource"`);
|
|
917
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_a737253768cdb2e73a9987ce3b"`);
|
|
918
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_6cd03329fe875288a708b233b4"`);
|
|
919
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_2cecebbab6116b69a956486662"`);
|
|
920
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_ea369857823e55e8c21a27a3b7"`);
|
|
921
|
+
await queryRunner.query(`DROP TABLE "PodmanHostOwnerUser"`);
|
|
922
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_e1da42006705c332a4bcc96202"`);
|
|
923
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_9621e9bcc51de9020a80cbc2a3"`);
|
|
924
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_4a26aefc1de15f94048ef3b45c"`);
|
|
925
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_76c44007c314e08a38f281c2a2"`);
|
|
926
|
+
await queryRunner.query(`DROP TABLE "PodmanHostOwnerTeam"`);
|
|
927
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_36e1b7bb9d9756649579d38eb5"`);
|
|
928
|
+
await queryRunner.query(`DROP INDEX "public"."IDX_800ec09eb585cdb5e4c643ef51"`);
|
|
929
|
+
await queryRunner.query(`DROP TABLE "PodmanHost"`);
|
|
930
|
+
await queryRunner.query(`CREATE INDEX "IDX_cclr_label_to_add_labelId" ON "CephClusterLabelRuleLabelToAdd" ("labelId") `);
|
|
931
|
+
await queryRunner.query(`CREATE INDEX "IDX_cclr_label_to_add_ruleId" ON "CephClusterLabelRuleLabelToAdd" ("cephClusterLabelRuleId") `);
|
|
932
|
+
await queryRunner.query(`CREATE INDEX "IDX_cclr_cluster_label_labelId" ON "CephClusterLabelRuleCephClusterLabel" ("labelId") `);
|
|
933
|
+
await queryRunner.query(`CREATE INDEX "IDX_cclr_cluster_label_ruleId" ON "CephClusterLabelRuleCephClusterLabel" ("cephClusterLabelRuleId") `);
|
|
934
|
+
await queryRunner.query(`CREATE INDEX "IDX_ccor_owner_team_teamId" ON "CephClusterOwnerRuleOwnerTeam" ("teamId") `);
|
|
935
|
+
await queryRunner.query(`CREATE INDEX "IDX_ccor_owner_team_ruleId" ON "CephClusterOwnerRuleOwnerTeam" ("cephClusterOwnerRuleId") `);
|
|
936
|
+
await queryRunner.query(`CREATE INDEX "IDX_ccor_owner_user_userId" ON "CephClusterOwnerRuleOwnerUser" ("userId") `);
|
|
937
|
+
await queryRunner.query(`CREATE INDEX "IDX_ccor_owner_user_ruleId" ON "CephClusterOwnerRuleOwnerUser" ("cephClusterOwnerRuleId") `);
|
|
938
|
+
await queryRunner.query(`CREATE INDEX "IDX_ccor_cluster_label_labelId" ON "CephClusterOwnerRuleCephClusterLabel" ("labelId") `);
|
|
939
|
+
await queryRunner.query(`CREATE INDEX "IDX_ccor_cluster_label_ruleId" ON "CephClusterOwnerRuleCephClusterLabel" ("cephClusterOwnerRuleId") `);
|
|
940
|
+
await queryRunner.query(`CREATE INDEX "IDX_pclr_label_to_add_labelId" ON "ProxmoxClusterLabelRuleLabelToAdd" ("labelId") `);
|
|
941
|
+
await queryRunner.query(`CREATE INDEX "IDX_pclr_label_to_add_ruleId" ON "ProxmoxClusterLabelRuleLabelToAdd" ("proxmoxClusterLabelRuleId") `);
|
|
942
|
+
await queryRunner.query(`CREATE INDEX "IDX_pclr_cluster_label_labelId" ON "ProxmoxClusterLabelRuleProxmoxClusterLabel" ("labelId") `);
|
|
943
|
+
await queryRunner.query(`CREATE INDEX "IDX_pclr_cluster_label_ruleId" ON "ProxmoxClusterLabelRuleProxmoxClusterLabel" ("proxmoxClusterLabelRuleId") `);
|
|
944
|
+
await queryRunner.query(`CREATE INDEX "IDX_pcor_owner_team_teamId" ON "ProxmoxClusterOwnerRuleOwnerTeam" ("teamId") `);
|
|
945
|
+
await queryRunner.query(`CREATE INDEX "IDX_pcor_owner_team_ruleId" ON "ProxmoxClusterOwnerRuleOwnerTeam" ("proxmoxClusterOwnerRuleId") `);
|
|
946
|
+
await queryRunner.query(`CREATE INDEX "IDX_pcor_owner_user_userId" ON "ProxmoxClusterOwnerRuleOwnerUser" ("userId") `);
|
|
947
|
+
await queryRunner.query(`CREATE INDEX "IDX_pcor_owner_user_ruleId" ON "ProxmoxClusterOwnerRuleOwnerUser" ("proxmoxClusterOwnerRuleId") `);
|
|
948
|
+
await queryRunner.query(`CREATE INDEX "IDX_pcor_cluster_label_labelId" ON "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ("labelId") `);
|
|
949
|
+
await queryRunner.query(`CREATE INDEX "IDX_pcor_cluster_label_ruleId" ON "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ("proxmoxClusterOwnerRuleId") `);
|
|
950
|
+
await queryRunner.query(`CREATE INDEX "IDX_sm_ceph_cluster_cephClusterId" ON "ScheduledMaintenanceCephCluster" ("cephClusterId") `);
|
|
951
|
+
await queryRunner.query(`CREATE INDEX "IDX_sm_ceph_cluster_scheduledMaintenanceId" ON "ScheduledMaintenanceCephCluster" ("scheduledMaintenanceId") `);
|
|
952
|
+
await queryRunner.query(`CREATE INDEX "IDX_sm_proxmox_cluster_proxmoxClusterId" ON "ScheduledMaintenanceProxmoxCluster" ("proxmoxClusterId") `);
|
|
953
|
+
await queryRunner.query(`CREATE INDEX "IDX_sm_proxmox_cluster_scheduledMaintenanceId" ON "ScheduledMaintenanceProxmoxCluster" ("scheduledMaintenanceId") `);
|
|
954
|
+
await queryRunner.query(`CREATE INDEX "IDX_alert_ceph_cluster_cephClusterId" ON "AlertCephCluster" ("cephClusterId") `);
|
|
955
|
+
await queryRunner.query(`CREATE INDEX "IDX_alert_ceph_cluster_alertId" ON "AlertCephCluster" ("alertId") `);
|
|
956
|
+
await queryRunner.query(`CREATE INDEX "IDX_alert_proxmox_cluster_proxmoxClusterId" ON "AlertProxmoxCluster" ("proxmoxClusterId") `);
|
|
957
|
+
await queryRunner.query(`CREATE INDEX "IDX_alert_proxmox_cluster_alertId" ON "AlertProxmoxCluster" ("alertId") `);
|
|
958
|
+
await queryRunner.query(`CREATE INDEX "IDX_incident_ceph_cluster_cephClusterId" ON "IncidentCephCluster" ("cephClusterId") `);
|
|
959
|
+
await queryRunner.query(`CREATE INDEX "IDX_incident_ceph_cluster_incidentId" ON "IncidentCephCluster" ("incidentId") `);
|
|
960
|
+
await queryRunner.query(`CREATE INDEX "IDX_incident_proxmox_cluster_proxmoxClusterId" ON "IncidentProxmoxCluster" ("proxmoxClusterId") `);
|
|
961
|
+
await queryRunner.query(`CREATE INDEX "IDX_incident_proxmox_cluster_incidentId" ON "IncidentProxmoxCluster" ("incidentId") `);
|
|
962
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_label_labelId" ON "ProxmoxClusterLabel" ("labelId") `);
|
|
963
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_label_proxmoxClusterId" ON "ProxmoxClusterLabel" ("proxmoxClusterId") `);
|
|
964
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_label_labelId" ON "CephClusterLabel" ("labelId") `);
|
|
965
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_label_cephClusterId" ON "CephClusterLabel" ("cephClusterId") `);
|
|
966
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_label_rule_isEnabled" ON "CephClusterLabelRule" ("isEnabled") `);
|
|
967
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_label_rule_name" ON "CephClusterLabelRule" ("name") `);
|
|
968
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_label_rule_projectId" ON "CephClusterLabelRule" ("projectId") `);
|
|
969
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_rule_isEnabled" ON "CephClusterOwnerRule" ("isEnabled") `);
|
|
970
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_rule_name" ON "CephClusterOwnerRule" ("name") `);
|
|
971
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_rule_projectId" ON "CephClusterOwnerRule" ("projectId") `);
|
|
972
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_label_rule_isEnabled" ON "ProxmoxClusterLabelRule" ("isEnabled") `);
|
|
973
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_label_rule_name" ON "ProxmoxClusterLabelRule" ("name") `);
|
|
974
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_label_rule_projectId" ON "ProxmoxClusterLabelRule" ("projectId") `);
|
|
975
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_rule_isEnabled" ON "ProxmoxClusterOwnerRule" ("isEnabled") `);
|
|
976
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_rule_name" ON "ProxmoxClusterOwnerRule" ("name") `);
|
|
977
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_rule_projectId" ON "ProxmoxClusterOwnerRule" ("projectId") `);
|
|
978
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_ceph_resource_identity" ON "CephResource" ("projectId", "cephClusterId", "kind", "externalId") `);
|
|
979
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_resource_cephClusterId" ON "CephResource" ("cephClusterId") `);
|
|
980
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_resource_projectId" ON "CephResource" ("projectId") `);
|
|
981
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_user_isOwnerNotified" ON "CephClusterOwnerUser" ("isOwnerNotified") `);
|
|
982
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_user_cephClusterId" ON "CephClusterOwnerUser" ("cephClusterId") `);
|
|
983
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_user_userId" ON "CephClusterOwnerUser" ("userId") `);
|
|
984
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_user_projectId" ON "CephClusterOwnerUser" ("projectId") `);
|
|
985
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_team_isOwnerNotified" ON "CephClusterOwnerTeam" ("isOwnerNotified") `);
|
|
986
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_team_cephClusterId" ON "CephClusterOwnerTeam" ("cephClusterId") `);
|
|
987
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_team_teamId" ON "CephClusterOwnerTeam" ("teamId") `);
|
|
988
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_owner_team_projectId" ON "CephClusterOwnerTeam" ("projectId") `);
|
|
989
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_proxmox_resource_identity" ON "ProxmoxResource" ("projectId", "proxmoxClusterId", "kind", "externalId") `);
|
|
990
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_resource_proxmoxClusterId" ON "ProxmoxResource" ("proxmoxClusterId") `);
|
|
991
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_resource_projectId" ON "ProxmoxResource" ("projectId") `);
|
|
992
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_user_isOwnerNotified" ON "ProxmoxClusterOwnerUser" ("isOwnerNotified") `);
|
|
993
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_user_proxmoxClusterId" ON "ProxmoxClusterOwnerUser" ("proxmoxClusterId") `);
|
|
994
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_user_userId" ON "ProxmoxClusterOwnerUser" ("userId") `);
|
|
995
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_user_projectId" ON "ProxmoxClusterOwnerUser" ("projectId") `);
|
|
996
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_team_isOwnerNotified" ON "ProxmoxClusterOwnerTeam" ("isOwnerNotified") `);
|
|
997
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_team_proxmoxClusterId" ON "ProxmoxClusterOwnerTeam" ("proxmoxClusterId") `);
|
|
998
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_team_teamId" ON "ProxmoxClusterOwnerTeam" ("teamId") `);
|
|
999
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_owner_team_projectId" ON "ProxmoxClusterOwnerTeam" ("projectId") `);
|
|
1000
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_proxmox_cluster_projectId_name" ON "ProxmoxCluster" ("projectId", "name") `);
|
|
1001
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_proxmox_cluster_slug" ON "ProxmoxCluster" ("slug") `);
|
|
1002
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_name" ON "ProxmoxCluster" ("name") `);
|
|
1003
|
+
await queryRunner.query(`CREATE INDEX "IDX_proxmox_cluster_projectId" ON "ProxmoxCluster" ("projectId") `);
|
|
1004
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_ceph_cluster_projectId_name" ON "CephCluster" ("projectId", "name") `);
|
|
1005
|
+
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_ceph_cluster_slug" ON "CephCluster" ("slug") `);
|
|
1006
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_name" ON "CephCluster" ("name") `);
|
|
1007
|
+
await queryRunner.query(`CREATE INDEX "IDX_ceph_cluster_projectId" ON "CephCluster" ("projectId") `);
|
|
1008
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_cclr_label_to_add_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1009
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_cclr_label_to_add_ruleId" FOREIGN KEY ("cephClusterLabelRuleId") REFERENCES "CephClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1010
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" ADD CONSTRAINT "FK_cclr_cluster_label_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1011
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRuleCephClusterLabel" ADD CONSTRAINT "FK_cclr_cluster_label_ruleId" FOREIGN KEY ("cephClusterLabelRuleId") REFERENCES "CephClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1012
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_ccor_owner_team_teamId" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1013
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_ccor_owner_team_ruleId" FOREIGN KEY ("cephClusterOwnerRuleId") REFERENCES "CephClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1014
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_ccor_owner_user_userId" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1015
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_ccor_owner_user_ruleId" FOREIGN KEY ("cephClusterOwnerRuleId") REFERENCES "CephClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1016
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" ADD CONSTRAINT "FK_ccor_cluster_label_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1017
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRuleCephClusterLabel" ADD CONSTRAINT "FK_ccor_cluster_label_ruleId" FOREIGN KEY ("cephClusterOwnerRuleId") REFERENCES "CephClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1018
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_pclr_label_to_add_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1019
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleLabelToAdd" ADD CONSTRAINT "FK_pclr_label_to_add_ruleId" FOREIGN KEY ("proxmoxClusterLabelRuleId") REFERENCES "ProxmoxClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1020
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_pclr_cluster_label_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1021
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_pclr_cluster_label_ruleId" FOREIGN KEY ("proxmoxClusterLabelRuleId") REFERENCES "ProxmoxClusterLabelRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1022
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_pcor_owner_team_teamId" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1023
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerTeam" ADD CONSTRAINT "FK_pcor_owner_team_ruleId" FOREIGN KEY ("proxmoxClusterOwnerRuleId") REFERENCES "ProxmoxClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1024
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_pcor_owner_user_userId" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1025
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleOwnerUser" ADD CONSTRAINT "FK_pcor_owner_user_ruleId" FOREIGN KEY ("proxmoxClusterOwnerRuleId") REFERENCES "ProxmoxClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1026
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_pcor_cluster_label_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1027
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRuleProxmoxClusterLabel" ADD CONSTRAINT "FK_pcor_cluster_label_ruleId" FOREIGN KEY ("proxmoxClusterOwnerRuleId") REFERENCES "ProxmoxClusterOwnerRule"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1028
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" ADD CONSTRAINT "FK_sm_ceph_cluster_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1029
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceCephCluster" ADD CONSTRAINT "FK_sm_ceph_cluster_scheduledMaintenanceId" FOREIGN KEY ("scheduledMaintenanceId") REFERENCES "ScheduledMaintenance"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1030
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" ADD CONSTRAINT "FK_sm_proxmox_cluster_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1031
|
+
await queryRunner.query(`ALTER TABLE "ScheduledMaintenanceProxmoxCluster" ADD CONSTRAINT "FK_sm_proxmox_cluster_scheduledMaintenanceId" FOREIGN KEY ("scheduledMaintenanceId") REFERENCES "ScheduledMaintenance"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1032
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" ADD CONSTRAINT "FK_alert_ceph_cluster_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1033
|
+
await queryRunner.query(`ALTER TABLE "AlertCephCluster" ADD CONSTRAINT "FK_alert_ceph_cluster_alertId" FOREIGN KEY ("alertId") REFERENCES "Alert"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1034
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" ADD CONSTRAINT "FK_alert_proxmox_cluster_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1035
|
+
await queryRunner.query(`ALTER TABLE "AlertProxmoxCluster" ADD CONSTRAINT "FK_alert_proxmox_cluster_alertId" FOREIGN KEY ("alertId") REFERENCES "Alert"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1036
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" ADD CONSTRAINT "FK_incident_ceph_cluster_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1037
|
+
await queryRunner.query(`ALTER TABLE "IncidentCephCluster" ADD CONSTRAINT "FK_incident_ceph_cluster_incidentId" FOREIGN KEY ("incidentId") REFERENCES "Incident"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1038
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" ADD CONSTRAINT "FK_incident_proxmox_cluster_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1039
|
+
await queryRunner.query(`ALTER TABLE "IncidentProxmoxCluster" ADD CONSTRAINT "FK_incident_proxmox_cluster_incidentId" FOREIGN KEY ("incidentId") REFERENCES "Incident"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1040
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" ADD CONSTRAINT "FK_proxmox_cluster_label_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1041
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabel" ADD CONSTRAINT "FK_proxmox_cluster_label_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1042
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" ADD CONSTRAINT "FK_ceph_cluster_label_labelId" FOREIGN KEY ("labelId") REFERENCES "Label"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1043
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabel" ADD CONSTRAINT "FK_ceph_cluster_label_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE CASCADE`);
|
|
1044
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" ADD CONSTRAINT "FK_ceph_cluster_label_rule_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1045
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" ADD CONSTRAINT "FK_ceph_cluster_label_rule_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1046
|
+
await queryRunner.query(`ALTER TABLE "CephClusterLabelRule" ADD CONSTRAINT "FK_ceph_cluster_label_rule_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1047
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" ADD CONSTRAINT "FK_ceph_cluster_owner_rule_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1048
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" ADD CONSTRAINT "FK_ceph_cluster_owner_rule_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1049
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerRule" ADD CONSTRAINT "FK_ceph_cluster_owner_rule_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1050
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" ADD CONSTRAINT "FK_proxmox_cluster_label_rule_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1051
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" ADD CONSTRAINT "FK_proxmox_cluster_label_rule_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1052
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterLabelRule" ADD CONSTRAINT "FK_proxmox_cluster_label_rule_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1053
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" ADD CONSTRAINT "FK_proxmox_cluster_owner_rule_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1054
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" ADD CONSTRAINT "FK_proxmox_cluster_owner_rule_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1055
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerRule" ADD CONSTRAINT "FK_proxmox_cluster_owner_rule_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1056
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntityRelationship" ADD CONSTRAINT "FK_TelEntityRel_deletedBy" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1057
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntityRelationship" ADD CONSTRAINT "FK_TelEntityRel_createdBy" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1058
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntityRelationship" ADD CONSTRAINT "FK_TelEntityRel_project" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1059
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntity" ADD CONSTRAINT "FK_TelemetryEntity_deletedBy" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1060
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntity" ADD CONSTRAINT "FK_TelemetryEntity_createdBy" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1061
|
+
await queryRunner.query(`ALTER TABLE "TelemetryEntity" ADD CONSTRAINT "FK_TelemetryEntity_project" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1062
|
+
await queryRunner.query(`ALTER TABLE "Host" ADD CONSTRAINT "FK_host_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1063
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_ceph_resource_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1064
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_ceph_resource_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1065
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_ceph_resource_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1066
|
+
await queryRunner.query(`ALTER TABLE "CephResource" ADD CONSTRAINT "FK_ceph_resource_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1067
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_ceph_cluster_owner_user_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1068
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_ceph_cluster_owner_user_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1069
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_ceph_cluster_owner_user_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1070
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_ceph_cluster_owner_user_userId" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1071
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerUser" ADD CONSTRAINT "FK_ceph_cluster_owner_user_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1072
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_ceph_cluster_owner_team_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1073
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_ceph_cluster_owner_team_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1074
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_ceph_cluster_owner_team_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1075
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_ceph_cluster_owner_team_teamId" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1076
|
+
await queryRunner.query(`ALTER TABLE "CephClusterOwnerTeam" ADD CONSTRAINT "FK_ceph_cluster_owner_team_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1077
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_proxmox_resource_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1078
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_proxmox_resource_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1079
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_proxmox_resource_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1080
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxResource" ADD CONSTRAINT "FK_proxmox_resource_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1081
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_proxmox_cluster_owner_user_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1082
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_proxmox_cluster_owner_user_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1083
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_proxmox_cluster_owner_user_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1084
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_proxmox_cluster_owner_user_userId" FOREIGN KEY ("userId") REFERENCES "User"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1085
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerUser" ADD CONSTRAINT "FK_proxmox_cluster_owner_user_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1086
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_proxmox_cluster_owner_team_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1087
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_proxmox_cluster_owner_team_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1088
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_proxmox_cluster_owner_team_proxmoxClusterId" FOREIGN KEY ("proxmoxClusterId") REFERENCES "ProxmoxCluster"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1089
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_proxmox_cluster_owner_team_teamId" FOREIGN KEY ("teamId") REFERENCES "Team"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1090
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxClusterOwnerTeam" ADD CONSTRAINT "FK_proxmox_cluster_owner_team_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1091
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_proxmox_cluster_cephClusterId" FOREIGN KEY ("cephClusterId") REFERENCES "CephCluster"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1092
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_proxmox_cluster_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1093
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_proxmox_cluster_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1094
|
+
await queryRunner.query(`ALTER TABLE "ProxmoxCluster" ADD CONSTRAINT "FK_proxmox_cluster_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1095
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" ADD CONSTRAINT "FK_ceph_cluster_deletedByUserId" FOREIGN KEY ("deletedByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1096
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" ADD CONSTRAINT "FK_ceph_cluster_createdByUserId" FOREIGN KEY ("createdByUserId") REFERENCES "User"("_id") ON DELETE SET NULL ON UPDATE NO ACTION`);
|
|
1097
|
+
await queryRunner.query(`ALTER TABLE "CephCluster" ADD CONSTRAINT "FK_ceph_cluster_projectId" FOREIGN KEY ("projectId") REFERENCES "Project"("_id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
//# sourceMappingURL=1781587937032-MigrationName.js.map
|