diff --git a/src/portalbackend/PortalBackend.Migrations/Migrations/20240912075829_811-offerprovider.Designer.cs b/src/portalbackend/PortalBackend.Migrations/Migrations/20240912075829_811-offerprovider.Designer.cs
deleted file mode 100644
index 8367a171c7..0000000000
--- a/src/portalbackend/PortalBackend.Migrations/Migrations/20240912075829_811-offerprovider.Designer.cs
+++ /dev/null
@@ -1,9780 +0,0 @@
-/********************************************************************************
- * Copyright (c) 2024 Contributors to the Eclipse Foundation
- *
- * See the NOTICE file(s) distributed with this work for additional
- * information regarding copyright ownership.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Apache License, Version 2.0 which is available at
- * https://www.apache.org/licenses/LICENSE-2.0.
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- *
- * SPDX-License-Identifier: Apache-2.0
- ********************************************************************************/
-
-//
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities;
-using System.Text.Json;
-
-#nullable disable
-
-namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.Migrations.Migrations
-{
- [DbContext(typeof(PortalDbContext))]
- [Migration("20240912075829_811-offerprovider")]
- partial class _811offerprovider
- {
- ///
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasDefaultSchema("portal")
- .UseCollation("en_US.utf8")
- .HasAnnotation("ProductVersion", "8.0.7")
- .HasAnnotation("Relational:MaxIdentifierLength", 63);
-
- NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditAppSubscriptionDetail20221118", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AppInstanceId")
- .HasColumnType("uuid")
- .HasColumnName("app_instance_id");
-
- b.Property("AppSubscriptionUrl")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("app_subscription_url");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("OfferSubscriptionId")
- .HasColumnType("uuid")
- .HasColumnName("offer_subscription_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_app_subscription_detail20221118");
-
- b.ToTable("audit_app_subscription_detail20221118", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditAppSubscriptionDetail20231115", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AppInstanceId")
- .HasColumnType("uuid")
- .HasColumnName("app_instance_id");
-
- b.Property("AppSubscriptionUrl")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("app_subscription_url");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("OfferSubscriptionId")
- .HasColumnType("uuid")
- .HasColumnName("offer_subscription_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_app_subscription_detail20231115");
-
- b.ToTable("audit_app_subscription_detail20231115", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCertificateManagement20240416", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyCertificateStatusId")
- .HasColumnType("integer")
- .HasColumnName("company_certificate_status_id");
-
- b.Property("CompanyCertificateTypeId")
- .HasColumnType("integer")
- .HasColumnName("company_certificate_type_id");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("DocumentId")
- .HasColumnType("uuid")
- .HasColumnName("document_id");
-
- b.Property("ExternalCertificateNumber")
- .HasColumnType("text")
- .HasColumnName("external_certificate_number");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("Issuer")
- .HasColumnType("text")
- .HasColumnName("issuer");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("TrustLevel")
- .HasColumnType("text")
- .HasColumnName("trust_level");
-
- b.Property("ValidFrom")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("valid_from");
-
- b.Property("ValidTill")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("valid_till");
-
- b.Property("Validator")
- .HasColumnType("text")
- .HasColumnName("validator");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_certificate_management20240416");
-
- b.ToTable("audit_certificate_management20240416", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyApplication20221005", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("ApplicationStatusId")
- .HasColumnType("integer")
- .HasColumnName("application_status_id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_application20221005");
-
- b.ToTable("audit_company_application20221005", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyApplication20230214", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("ApplicationStatusId")
- .HasColumnType("integer")
- .HasColumnName("application_status_id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("ChecklistProcessId")
- .HasColumnType("uuid")
- .HasColumnName("checklist_process_id");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_application20230214");
-
- b.ToTable("audit_company_application20230214", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyApplication20230824", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("ApplicationStatusId")
- .HasColumnType("integer")
- .HasColumnName("application_status_id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("ChecklistProcessId")
- .HasColumnType("uuid")
- .HasColumnName("checklist_process_id");
-
- b.Property("CompanyApplicationTypeId")
- .HasColumnType("integer")
- .HasColumnName("company_application_type_id");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("OnboardingServiceProviderId")
- .HasColumnType("uuid")
- .HasColumnName("onboarding_service_provider_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_application20230824");
-
- b.ToTable("audit_company_application20230824", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyApplication20231115", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("ApplicationStatusId")
- .HasColumnType("integer")
- .HasColumnName("application_status_id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("ChecklistProcessId")
- .HasColumnType("uuid")
- .HasColumnName("checklist_process_id");
-
- b.Property("CompanyApplicationTypeId")
- .HasColumnType("integer")
- .HasColumnName("company_application_type_id");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("OnboardingServiceProviderId")
- .HasColumnType("uuid")
- .HasColumnName("onboarding_service_provider_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_application20231115");
-
- b.ToTable("audit_company_application20231115", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyAssignedRole2023316", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("CompanyRoleId")
- .HasColumnType("integer")
- .HasColumnName("company_role_id");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_assigned_role2023316");
-
- b.ToTable("audit_company_assigned_role2023316", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyUser20221005", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("CompanyUserStatusId")
- .HasColumnType("integer")
- .HasColumnName("company_user_status_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("Email")
- .HasColumnType("text")
- .HasColumnName("email");
-
- b.Property("Firstname")
- .HasColumnType("text")
- .HasColumnName("firstname");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("Lastlogin")
- .HasColumnType("bytea")
- .HasColumnName("lastlogin");
-
- b.Property("Lastname")
- .HasColumnType("text")
- .HasColumnName("lastname");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_user20221005");
-
- b.ToTable("audit_company_user20221005", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyUser20230522", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("Email")
- .HasColumnType("text")
- .HasColumnName("email");
-
- b.Property("Firstname")
- .HasColumnType("text")
- .HasColumnName("firstname");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("Lastlogin")
- .HasColumnType("bytea")
- .HasColumnName("lastlogin");
-
- b.Property("Lastname")
- .HasColumnType("text")
- .HasColumnName("lastname");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_user20230523");
-
- b.ToTable("audit_company_user20230523", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditCompanyUserAssignedRole20221018", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyUserId")
- .HasColumnType("uuid")
- .HasColumnName("company_user_id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("UserRoleId")
- .HasColumnType("uuid")
- .HasColumnName("user_role_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_company_user_assigned_role20221018");
-
- b.ToTable("audit_company_user_assigned_role20221018", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditConnector20230405", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("ConnectorUrl")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("connector_url");
-
- b.Property("DapsRegistrationSuccessful")
- .HasColumnType("boolean")
- .HasColumnName("daps_registration_successful");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("HostId")
- .HasColumnType("uuid")
- .HasColumnName("host_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("LocationId")
- .IsRequired()
- .HasMaxLength(2)
- .HasColumnType("character varying(2)")
- .HasColumnName("location_id");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("name");
-
- b.Property("ProviderId")
- .HasColumnType("uuid")
- .HasColumnName("provider_id");
-
- b.Property("SelfDescriptionDocumentId")
- .HasColumnType("uuid")
- .HasColumnName("self_description_document_id");
-
- b.Property("SelfDescriptionMessage")
- .HasColumnType("text")
- .HasColumnName("self_description_message");
-
- b.Property("StatusId")
- .HasColumnType("integer")
- .HasColumnName("status_id");
-
- b.Property("TypeId")
- .HasColumnType("integer")
- .HasColumnName("type_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_connector20230405");
-
- b.ToTable("audit_connector20230405", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditConnector20230503", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyServiceAccountId")
- .HasColumnType("uuid")
- .HasColumnName("company_service_account_id");
-
- b.Property("ConnectorUrl")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("connector_url");
-
- b.Property("DapsRegistrationSuccessful")
- .HasColumnType("boolean")
- .HasColumnName("daps_registration_successful");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("HostId")
- .HasColumnType("uuid")
- .HasColumnName("host_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("LocationId")
- .IsRequired()
- .HasMaxLength(2)
- .HasColumnType("character varying(2)")
- .HasColumnName("location_id");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("name");
-
- b.Property("ProviderId")
- .HasColumnType("uuid")
- .HasColumnName("provider_id");
-
- b.Property("SelfDescriptionDocumentId")
- .HasColumnType("uuid")
- .HasColumnName("self_description_document_id");
-
- b.Property("SelfDescriptionMessage")
- .HasColumnType("text")
- .HasColumnName("self_description_message");
-
- b.Property("StatusId")
- .HasColumnType("integer")
- .HasColumnName("status_id");
-
- b.Property("TypeId")
- .HasColumnType("integer")
- .HasColumnName("type_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_connector20230503");
-
- b.ToTable("audit_connector20230503", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditConnector20230803", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyServiceAccountId")
- .HasColumnType("uuid")
- .HasColumnName("company_service_account_id");
-
- b.Property("ConnectorUrl")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("connector_url");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("HostId")
- .HasColumnType("uuid")
- .HasColumnName("host_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("LocationId")
- .IsRequired()
- .HasMaxLength(2)
- .HasColumnType("character varying(2)")
- .HasColumnName("location_id");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("name");
-
- b.Property("ProviderId")
- .HasColumnType("uuid")
- .HasColumnName("provider_id");
-
- b.Property("SelfDescriptionDocumentId")
- .HasColumnType("uuid")
- .HasColumnName("self_description_document_id");
-
- b.Property("SelfDescriptionMessage")
- .HasColumnType("text")
- .HasColumnName("self_description_message");
-
- b.Property("StatusId")
- .HasColumnType("integer")
- .HasColumnName("status_id");
-
- b.Property("TypeId")
- .HasColumnType("integer")
- .HasColumnName("type_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_connector20230803");
-
- b.ToTable("audit_connector20230803", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditConnector20231115", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyServiceAccountId")
- .HasColumnType("uuid")
- .HasColumnName("company_service_account_id");
-
- b.Property("ConnectorUrl")
- .HasColumnType("text")
- .HasColumnName("connector_url");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("HostId")
- .HasColumnType("uuid")
- .HasColumnName("host_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("LocationId")
- .HasColumnType("text")
- .HasColumnName("location_id");
-
- b.Property("Name")
- .HasColumnType("text")
- .HasColumnName("name");
-
- b.Property("ProviderId")
- .HasColumnType("uuid")
- .HasColumnName("provider_id");
-
- b.Property("SelfDescriptionDocumentId")
- .HasColumnType("uuid")
- .HasColumnName("self_description_document_id");
-
- b.Property("SelfDescriptionMessage")
- .HasColumnType("text")
- .HasColumnName("self_description_message");
-
- b.Property("StatusId")
- .HasColumnType("integer")
- .HasColumnName("status_id");
-
- b.Property("TypeId")
- .HasColumnType("integer")
- .HasColumnName("type_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_connector20231115");
-
- b.ToTable("audit_connector20231115", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditConnector20240814", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyServiceAccountId")
- .HasColumnType("uuid")
- .HasColumnName("company_service_account_id");
-
- b.Property("ConnectorUrl")
- .HasColumnType("text")
- .HasColumnName("connector_url");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("HostId")
- .HasColumnType("uuid")
- .HasColumnName("host_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("LocationId")
- .HasColumnType("text")
- .HasColumnName("location_id");
-
- b.Property("Name")
- .HasColumnType("text")
- .HasColumnName("name");
-
- b.Property("ProviderId")
- .HasColumnType("uuid")
- .HasColumnName("provider_id");
-
- b.Property("SdCreationProcessId")
- .HasColumnType("uuid")
- .HasColumnName("sd_creation_process_id");
-
- b.Property("SelfDescriptionDocumentId")
- .HasColumnType("uuid")
- .HasColumnName("self_description_document_id");
-
- b.Property("SelfDescriptionMessage")
- .HasColumnType("text")
- .HasColumnName("self_description_message");
-
- b.Property("StatusId")
- .HasColumnType("integer")
- .HasColumnName("status_id");
-
- b.Property("TypeId")
- .HasColumnType("integer")
- .HasColumnName("type_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_connector20240814");
-
- b.ToTable("audit_connector20240814", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditConsent20230412", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AgreementId")
- .HasColumnType("uuid")
- .HasColumnName("agreement_id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("Comment")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("comment");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("CompanyUserId")
- .HasColumnType("uuid")
- .HasColumnName("company_user_id");
-
- b.Property("ConsentStatusId")
- .HasColumnType("integer")
- .HasColumnName("consent_status_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DocumentId")
- .HasColumnType("uuid")
- .HasColumnName("document_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("Target")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("target");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_consent20230412");
-
- b.ToTable("audit_consent20230412", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditConsent20231115", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AgreementId")
- .HasColumnType("uuid")
- .HasColumnName("agreement_id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("Comment")
- .HasColumnType("text")
- .HasColumnName("comment");
-
- b.Property("CompanyId")
- .HasColumnType("uuid")
- .HasColumnName("company_id");
-
- b.Property("CompanyUserId")
- .HasColumnType("uuid")
- .HasColumnName("company_user_id");
-
- b.Property("ConsentStatusId")
- .HasColumnType("integer")
- .HasColumnName("consent_status_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DocumentId")
- .HasColumnType("uuid")
- .HasColumnName("document_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("Target")
- .HasColumnType("text")
- .HasColumnName("target");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_consent20231115");
-
- b.ToTable("audit_consent20231115", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditDocument20231108", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property("AuditV1LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("audit_v1last_editor_id");
-
- b.Property("AuditV1OperationId")
- .HasColumnType("integer")
- .HasColumnName("audit_v1operation_id");
-
- b.Property("CompanyUserId")
- .HasColumnType("uuid")
- .HasColumnName("company_user_id");
-
- b.Property("DateCreated")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_created");
-
- b.Property("DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date_last_changed");
-
- b.Property("DocumentContent")
- .IsRequired()
- .HasColumnType("bytea")
- .HasColumnName("document_content");
-
- b.Property("DocumentHash")
- .IsRequired()
- .HasColumnType("bytea")
- .HasColumnName("document_hash");
-
- b.Property("DocumentName")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("document_name");
-
- b.Property("DocumentStatusId")
- .HasColumnType("integer")
- .HasColumnName("document_status_id");
-
- b.Property("DocumentTypeId")
- .HasColumnType("integer")
- .HasColumnName("document_type_id");
-
- b.Property("Id")
- .HasColumnType("uuid")
- .HasColumnName("id");
-
- b.Property("LastEditorId")
- .HasColumnType("uuid")
- .HasColumnName("last_editor_id");
-
- b.Property("MediaTypeId")
- .HasColumnType("integer")
- .HasColumnName("media_type_id");
-
- b.HasKey("AuditV1Id")
- .HasName("pk_audit_document20231108");
-
- b.ToTable("audit_document20231108", "portal");
- });
-
- modelBuilder.Entity("Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.AuditEntities.AuditDocument20231115", b =>
- {
- b.Property("AuditV1Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid")
- .HasColumnName("audit_v1id");
-
- b.Property("AuditV1DateLastChanged")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("audit_v1date_last_changed");
-
- b.Property