Entity isimlerinde Host ifadesinin kullanılması
This commit is contained in:
parent
e490a1a409
commit
5c98bc3a0b
11 changed files with 3031 additions and 4255 deletions
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
public static class Prefix
|
public static class Prefix
|
||||||
{
|
{
|
||||||
public static string DbTablePlatform { get; set; } = "Plat";
|
public static string MenuPrefix { get; set; } = "Plat";
|
||||||
public static string MenuPlatform { get; set; } = "P";
|
public static string HostPrefix { get; set; } = "H";
|
||||||
public static string? DbSchema { get; set; } = null;
|
public static string? DbSchema { get; set; } = null;
|
||||||
|
|
||||||
public const string ConnectionStringName = "Languages";
|
public const string ConnectionStringName = "Languages";
|
||||||
|
|
@ -13,6 +13,6 @@ public static class TablePrefix
|
||||||
{
|
{
|
||||||
public static string ByName(string tableName)
|
public static string ByName(string tableName)
|
||||||
{
|
{
|
||||||
return $"{Prefix.DbTablePlatform}_{Prefix.MenuPlatform}_{tableName}";
|
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
public static class Prefix
|
public static class Prefix
|
||||||
{
|
{
|
||||||
public static string DbTablePlatform { get; set; } = "Plat";
|
public static string MenuPrefix { get; set; } = "Plat";
|
||||||
public static string MenuPlatform { get; set; } = "P";
|
public static string HostPrefix { get; set; } = "H";
|
||||||
public static string? DbSchema { get; set; } = null;
|
public static string? DbSchema { get; set; } = null;
|
||||||
|
|
||||||
public const string ConnectionStringName = "Default";
|
public const string ConnectionStringName = "Default";
|
||||||
|
|
@ -13,6 +13,6 @@ public static class TablePrefix
|
||||||
{
|
{
|
||||||
public static string ByName(string tableName)
|
public static string ByName(string tableName)
|
||||||
{
|
{
|
||||||
return $"{Prefix.DbTablePlatform}_{Prefix.MenuPlatform}_{tableName}";
|
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
public static class Prefix
|
public static class Prefix
|
||||||
{
|
{
|
||||||
public static string DbTablePlatform { get; set; } = "Plat";
|
public static string MenuPrefix { get; set; } = "Plat";
|
||||||
public static string MenuPlatform { get; set; } = "P";
|
public static string HostPrefix { get; set; } = "H";
|
||||||
public static string? DbSchema { get; set; } = null;
|
public static string? DbSchema { get; set; } = null;
|
||||||
|
|
||||||
public const string ConnectionStringName = "Notifications";
|
public const string ConnectionStringName = "Notifications";
|
||||||
|
|
@ -13,6 +13,6 @@ public static class TablePrefix
|
||||||
{
|
{
|
||||||
public static string ByName(string tableName)
|
public static string ByName(string tableName)
|
||||||
{
|
{
|
||||||
return $"{Prefix.DbTablePlatform}_{Prefix.MenuPlatform}_{tableName}";
|
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
public static class Prefix
|
public static class Prefix
|
||||||
{
|
{
|
||||||
public static string DbTablePlatform { get; set; } = "Plat";
|
public static string MenuPrefix { get; set; } = "Plat";
|
||||||
public static string MenuPlatform { get; set; } = "P";
|
public static string HostPrefix { get; set; } = "H";
|
||||||
public static string? DbSchema { get; set; } = null;
|
public static string? DbSchema { get; set; } = null;
|
||||||
|
|
||||||
public const string ConnectionStringName = "Settings";
|
public const string ConnectionStringName = "Settings";
|
||||||
|
|
@ -13,6 +13,6 @@ public static class TablePrefix
|
||||||
{
|
{
|
||||||
public static string ByName(string tableName)
|
public static string ByName(string tableName)
|
||||||
{
|
{
|
||||||
return $"{Prefix.DbTablePlatform}_{Prefix.MenuPlatform}_{tableName}";
|
return $"{Prefix.MenuPrefix}_{Prefix.HostPrefix}_{tableName}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
2624
api/src/Kurs.Platform.DbMigrator/Seeds/FormSeeder.cs
Normal file
2624
api/src/Kurs.Platform.DbMigrator/Seeds/FormSeeder.cs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -23,6 +23,117 @@ using Kurs.Platform.Extensions;
|
||||||
|
|
||||||
namespace Kurs.Platform.Data.Seeds;
|
namespace Kurs.Platform.Data.Seeds;
|
||||||
|
|
||||||
|
#region SeedDtos
|
||||||
|
public class AiBotSeedDto
|
||||||
|
{
|
||||||
|
public string BotName { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class LanguageTextsSeedDto
|
||||||
|
{
|
||||||
|
public string ResourceName { get; set; }
|
||||||
|
public string Key { get; set; }
|
||||||
|
public string En { get; set; }
|
||||||
|
public string Tr { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class BackgroundWorkerSeedDto
|
||||||
|
{
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Cron { get; set; }
|
||||||
|
public string WorkerType { get; set; }
|
||||||
|
public bool IsActive { get; set; }
|
||||||
|
public string DataSourceCode { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class NotificationRuleSeedDto
|
||||||
|
{
|
||||||
|
public string NotificationType { get; set; }
|
||||||
|
public string RecipientType { get; set; }
|
||||||
|
public string RecipientId { get; set; }
|
||||||
|
public string Channel { get; set; }
|
||||||
|
public bool IsActive { get; set; }
|
||||||
|
public bool IsFixed { get; set; }
|
||||||
|
public bool IsCustomized { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class MenuSeedDto
|
||||||
|
{
|
||||||
|
public string ParentCode { get; set; }
|
||||||
|
public string Code { get; set; }
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
public int Order { get; set; }
|
||||||
|
public string Url { get; set; }
|
||||||
|
public string Icon { get; set; }
|
||||||
|
public string RequiredPermissionName { get; set; }
|
||||||
|
public bool IsDisabled { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class PermissionGroupDefinitionRecordSeedDto
|
||||||
|
{
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class PermissionDefinitionRecordSeedDto
|
||||||
|
{
|
||||||
|
public string GroupName { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string ParentName { get; set; }
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
public bool IsEnabled { get; set; }
|
||||||
|
public int MultiTenancySide { get; set; }
|
||||||
|
public string MenuGroup { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class CurrencySeedDto
|
||||||
|
{
|
||||||
|
public string Code { get; set; }
|
||||||
|
public string Symbol { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public bool IsActive { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ContactTagSeedDto
|
||||||
|
{
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Category { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ContactTitleSeedDto
|
||||||
|
{
|
||||||
|
public string Title { get; set; }
|
||||||
|
public string Abbreviation { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RouteSeedDto
|
||||||
|
{
|
||||||
|
public string Key { get; set; }
|
||||||
|
public string Path { get; set; }
|
||||||
|
public string ComponentPath { get; set; }
|
||||||
|
public string RouteType { get; set; }
|
||||||
|
public string[] Authority { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class HostSeederDto
|
||||||
|
{
|
||||||
|
public List<AiBotSeedDto> AiBots { get; set; }
|
||||||
|
public List<Language> Languages { get; set; }
|
||||||
|
public List<LanguageTextsSeedDto> LanguageTexts { get; set; }
|
||||||
|
public List<DataSource> DataSources { get; set; }
|
||||||
|
public List<SettingDefinition> Settings { get; set; }
|
||||||
|
public List<BackgroundWorkerSeedDto> BackgroundWorkers { get; set; }
|
||||||
|
public List<NotificationRuleSeedDto> NotificationRules { get; set; }
|
||||||
|
public List<MenuSeedDto> Menus { get; set; }
|
||||||
|
public List<PermissionGroupDefinitionRecordSeedDto> PermissionGroupDefinitionRecords { get; set; }
|
||||||
|
public List<PermissionDefinitionRecordSeedDto> PermissionDefinitionRecords { get; set; }
|
||||||
|
public List<CurrencySeedDto> Currencies { get; set; }
|
||||||
|
public List<ContactTagSeedDto> ContactTags { get; set; }
|
||||||
|
public List<ContactTitleSeedDto> ContactTitles { get; set; }
|
||||||
|
public List<RouteSeedDto> Routes { get; set; }
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
public class HostDataSeeder : IDataSeedContributor, ITransientDependency
|
public class HostDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
{
|
{
|
||||||
private readonly IRepository<AiBot, Guid> _aiBotRepository;
|
private readonly IRepository<AiBot, Guid> _aiBotRepository;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -4,13 +4,13 @@ namespace Kurs.Platform;
|
||||||
|
|
||||||
public static class TablePrefix
|
public static class TablePrefix
|
||||||
{
|
{
|
||||||
private const string PlatformPrefix = "P";
|
private const string HostPrefix = "H";
|
||||||
private const string TenantPrefix = "T";
|
private const string TenantPrefix = "T";
|
||||||
private const string BranchPrefix = "B";
|
private const string BranchPrefix = "B";
|
||||||
|
|
||||||
public static string PlatformByName(MenuPrefix MenuGroup, TableNameEnum tableName)
|
public static string PlatformByName(MenuPrefix MenuGroup, TableNameEnum tableName)
|
||||||
{
|
{
|
||||||
return $"{MenuPrefixExtensions.ToPrefix(MenuGroup)}_{PlatformPrefix}_{tableName}";
|
return $"{MenuPrefixExtensions.ToPrefix(MenuGroup)}_{HostPrefix}_{tableName}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string TenantByName(MenuPrefix MenuGroup, TableNameEnum tableName)
|
public static string TenantByName(MenuPrefix MenuGroup, TableNameEnum tableName)
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
|
||||||
namespace Kurs.Platform.Migrations
|
namespace Kurs.Platform.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(PlatformDbContext))]
|
[DbContext(typeof(PlatformDbContext))]
|
||||||
[Migration("20251101082915_Initial")]
|
[Migration("20251101111255_Initial")]
|
||||||
partial class Initial
|
partial class Initial
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|
@ -86,7 +86,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_Language", (string)null);
|
b.ToTable("Plat_H_Language", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Languages.Entities.LanguageKey", b =>
|
modelBuilder.Entity("Kurs.Languages.Entities.LanguageKey", b =>
|
||||||
|
|
@ -140,7 +140,7 @@ namespace Kurs.Platform.Migrations
|
||||||
b.HasIndex("ResourceName", "Key")
|
b.HasIndex("ResourceName", "Key")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Plat_P_LanguageKey", (string)null);
|
b.ToTable("Plat_H_LanguageKey", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Languages.Entities.LanguageText", b =>
|
modelBuilder.Entity("Kurs.Languages.Entities.LanguageText", b =>
|
||||||
|
|
@ -203,7 +203,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ResourceName", "Key");
|
b.HasIndex("ResourceName", "Key");
|
||||||
|
|
||||||
b.ToTable("Plat_P_LanguageText", (string)null);
|
b.ToTable("Plat_H_LanguageText", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueue", b =>
|
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueue", b =>
|
||||||
|
|
@ -294,7 +294,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("TableName");
|
b.HasIndex("TableName");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker_MailQueue", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker_MailQueue", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueEvents", b =>
|
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueEvents", b =>
|
||||||
|
|
@ -356,7 +356,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("AwsMessageId");
|
b.HasIndex("AwsMessageId");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker_MailQueueEvents", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker_MailQueueEvents", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueTableFormat", b =>
|
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueTableFormat", b =>
|
||||||
|
|
@ -422,7 +422,7 @@ namespace Kurs.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasDatabaseName("IX_MailQueueTableFormat");
|
.HasDatabaseName("IX_MailQueueTableFormat");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker_MailQueueTableFormat", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker_MailQueueTableFormat", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Notifications.Entities.Notification", b =>
|
modelBuilder.Entity("Kurs.Notifications.Entities.Notification", b =>
|
||||||
|
|
@ -500,7 +500,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("NotificationRuleId");
|
b.HasIndex("NotificationRuleId");
|
||||||
|
|
||||||
b.ToTable("Plat_P_Notification", (string)null);
|
b.ToTable("Plat_H_Notification", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Notifications.Entities.NotificationRule", b =>
|
modelBuilder.Entity("Kurs.Notifications.Entities.NotificationRule", b =>
|
||||||
|
|
@ -569,7 +569,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_NotificationRule", (string)null);
|
b.ToTable("Plat_H_NotificationRule", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.About", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.About", b =>
|
||||||
|
|
@ -704,7 +704,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_AiBot", (string)null);
|
b.ToTable("Plat_H_AiBot", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Announcement", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Announcement", b =>
|
||||||
|
|
@ -1009,7 +1009,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Badge", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Badge", b =>
|
||||||
|
|
@ -1753,7 +1753,7 @@ namespace Kurs.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Sas_P_City", (string)null);
|
b.ToTable("Sas_H_City", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Class", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Class", b =>
|
||||||
|
|
@ -2404,7 +2404,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ContactTag", (string)null);
|
b.ToTable("Sas_H_ContactTag", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ContactTitle", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ContactTitle", b =>
|
||||||
|
|
@ -2453,7 +2453,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ContactTitle", (string)null);
|
b.ToTable("Sas_H_ContactTitle", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.CostCenter", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.CostCenter", b =>
|
||||||
|
|
@ -2624,7 +2624,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("GroupName");
|
b.HasIndex("GroupName");
|
||||||
|
|
||||||
b.ToTable("Sas_P_Country", (string)null);
|
b.ToTable("Sas_H_Country", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.CountryGroup", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.CountryGroup", b =>
|
||||||
|
|
@ -2672,7 +2672,7 @@ namespace Kurs.Platform.Migrations
|
||||||
b.HasIndex("Name")
|
b.HasIndex("Name")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Sas_P_CountryGroup", (string)null);
|
b.ToTable("Sas_H_CountryGroup", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Currency", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Currency", b =>
|
||||||
|
|
@ -2738,7 +2738,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_Currency", (string)null);
|
b.ToTable("Sas_H_Currency", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.CustomComponent", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.CustomComponent", b =>
|
||||||
|
|
@ -3212,7 +3212,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_DataSource", (string)null);
|
b.ToTable("Sas_H_DataSource", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Demo", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Demo", b =>
|
||||||
|
|
@ -3500,7 +3500,7 @@ namespace Kurs.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL AND [Street] IS NOT NULL AND [ZipCode] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL AND [Street] IS NOT NULL AND [ZipCode] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Sas_P_District", (string)null);
|
b.ToTable("Sas_H_District", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Document", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Document", b =>
|
||||||
|
|
@ -5144,7 +5144,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListForm", (string)null);
|
b.ToTable("Sas_H_ListForm", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormCustomization", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormCustomization", b =>
|
||||||
|
|
@ -5209,7 +5209,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ListFormCode");
|
b.HasIndex("ListFormCode");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormCustomization", (string)null);
|
b.ToTable("Sas_H_ListFormCustomization", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormField", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormField", b =>
|
||||||
|
|
@ -5376,7 +5376,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ListFormCode");
|
b.HasIndex("ListFormCode");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormField", (string)null);
|
b.ToTable("Sas_H_ListFormField", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImport", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImport", b =>
|
||||||
|
|
@ -5436,7 +5436,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ListFormCode");
|
b.HasIndex("ListFormCode");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormImport", (string)null);
|
b.ToTable("Sas_H_ListFormImport", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImportExecute", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImportExecute", b =>
|
||||||
|
|
@ -5506,7 +5506,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ImportId");
|
b.HasIndex("ImportId");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormImportExecute", (string)null);
|
b.ToTable("Sas_H_ListFormImportExecute", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.MaterialGroup", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.MaterialGroup", b =>
|
||||||
|
|
@ -5911,7 +5911,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_Menu", (string)null);
|
b.ToTable("Sas_H_Menu", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.NoteType", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.NoteType", b =>
|
||||||
|
|
@ -8054,7 +8054,7 @@ namespace Kurs.Platform.Migrations
|
||||||
b.HasIndex("Key")
|
b.HasIndex("Key")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Sas_P_Route", (string)null);
|
b.ToTable("Sas_H_Route", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.SalesRejectionReason", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.SalesRejectionReason", b =>
|
||||||
|
|
@ -10190,7 +10190,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("DisplayOrder");
|
b.HasIndex("DisplayOrder");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ForumCategory", (string)null);
|
b.ToTable("Sas_H_ForumCategory", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Forum.ForumPost", b =>
|
modelBuilder.Entity("Kurs.Platform.Forum.ForumPost", b =>
|
||||||
|
|
@ -10260,7 +10260,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("TopicId");
|
b.HasIndex("TopicId");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ForumPost", (string)null);
|
b.ToTable("Sas_H_ForumPost", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Forum.ForumTopic", b =>
|
modelBuilder.Entity("Kurs.Platform.Forum.ForumTopic", b =>
|
||||||
|
|
@ -10359,7 +10359,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("LastPostDate");
|
b.HasIndex("LastPostDate");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ForumTopic", (string)null);
|
b.ToTable("Sas_H_ForumTopic", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Settings.Entities.SettingDefinition", b =>
|
modelBuilder.Entity("Kurs.Settings.Entities.SettingDefinition", b =>
|
||||||
|
|
@ -10456,7 +10456,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_SettingDefinition", (string)null);
|
b.ToTable("Plat_H_SettingDefinition", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
|
||||||
|
|
@ -1526,7 +1526,7 @@ namespace Kurs.Platform.Migrations
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_AiBot",
|
name: "Plat_H_AiBot",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1534,11 +1534,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_AiBot", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_AiBot", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_BackgroundWorker",
|
name: "Plat_H_BackgroundWorker",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1560,11 +1560,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_BackgroundWorker", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_BackgroundWorker", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_BackgroundWorker_MailQueueTableFormat",
|
name: "Plat_H_BackgroundWorker_MailQueueTableFormat",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<int>(type: "int", nullable: false)
|
Id = table.Column<int>(type: "int", nullable: false)
|
||||||
|
|
@ -1585,12 +1585,12 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_BackgroundWorker_MailQueueTableFormat", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_BackgroundWorker_MailQueueTableFormat", x => x.Id);
|
||||||
table.UniqueConstraint("AK_Plat_P_BackgroundWorker_MailQueueTableFormat_TableName", x => x.TableName);
|
table.UniqueConstraint("AK_Plat_H_BackgroundWorker_MailQueueTableFormat_TableName", x => x.TableName);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_Language",
|
name: "Plat_H_Language",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1609,12 +1609,12 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_Language", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_Language", x => x.Id);
|
||||||
table.UniqueConstraint("AK_Plat_P_Language_CultureName", x => x.CultureName);
|
table.UniqueConstraint("AK_Plat_H_Language_CultureName", x => x.CultureName);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_LanguageKey",
|
name: "Plat_H_LanguageKey",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1630,12 +1630,12 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_LanguageKey", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_LanguageKey", x => x.Id);
|
||||||
table.UniqueConstraint("AK_Plat_P_LanguageKey_ResourceName_Key", x => new { x.ResourceName, x.Key });
|
table.UniqueConstraint("AK_Plat_H_LanguageKey_ResourceName_Key", x => new { x.ResourceName, x.Key });
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_NotificationRule",
|
name: "Plat_H_NotificationRule",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1656,11 +1656,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_NotificationRule", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_NotificationRule", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_SettingDefinition",
|
name: "Plat_H_SettingDefinition",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1688,7 +1688,7 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_SettingDefinition", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_SettingDefinition", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
|
|
@ -1820,7 +1820,7 @@ namespace Kurs.Platform.Migrations
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ContactTag",
|
name: "Sas_H_ContactTag",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1836,11 +1836,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ContactTag", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ContactTag", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ContactTitle",
|
name: "Sas_H_ContactTitle",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1856,11 +1856,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ContactTitle", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ContactTitle", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_CountryGroup",
|
name: "Sas_H_CountryGroup",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1875,12 +1875,12 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_CountryGroup", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_CountryGroup", x => x.Id);
|
||||||
table.UniqueConstraint("AK_Sas_P_CountryGroup_Name", x => x.Name);
|
table.UniqueConstraint("AK_Sas_H_CountryGroup_Name", x => x.Name);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_Currency",
|
name: "Sas_H_Currency",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1900,11 +1900,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_Currency", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_Currency", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_DataSource",
|
name: "Sas_H_DataSource",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1921,11 +1921,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_DataSource", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_DataSource", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ForumCategory",
|
name: "Sas_H_ForumCategory",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -1953,11 +1953,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ForumCategory", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ForumCategory", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ListForm",
|
name: "Sas_H_ListForm",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -2049,12 +2049,12 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ListForm", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ListForm", x => x.Id);
|
||||||
table.UniqueConstraint("AK_Sas_P_ListForm_ListFormCode", x => x.ListFormCode);
|
table.UniqueConstraint("AK_Sas_H_ListForm_ListFormCode", x => x.ListFormCode);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_Menu",
|
name: "Sas_H_Menu",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -2082,11 +2082,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_Menu", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_Menu", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_Route",
|
name: "Sas_H_Route",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -2105,7 +2105,7 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_Route", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_Route", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
|
|
@ -3203,7 +3203,7 @@ namespace Kurs.Platform.Migrations
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_BackgroundWorker_MailQueue",
|
name: "Plat_H_BackgroundWorker_MailQueue",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3229,18 +3229,18 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_BackgroundWorker_MailQueue", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_BackgroundWorker_MailQueue", x => x.Id);
|
||||||
table.UniqueConstraint("AK_Plat_P_BackgroundWorker_MailQueue_AwsMessageId", x => x.AwsMessageId);
|
table.UniqueConstraint("AK_Plat_H_BackgroundWorker_MailQueue_AwsMessageId", x => x.AwsMessageId);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Plat_P_BackgroundWorker_MailQueue_Plat_P_BackgroundWorker_MailQueueTableFormat_TableName",
|
name: "FK_Plat_H_BackgroundWorker_MailQueue_Plat_H_BackgroundWorker_MailQueueTableFormat_TableName",
|
||||||
column: x => x.TableName,
|
column: x => x.TableName,
|
||||||
principalTable: "Plat_P_BackgroundWorker_MailQueueTableFormat",
|
principalTable: "Plat_H_BackgroundWorker_MailQueueTableFormat",
|
||||||
principalColumn: "TableName",
|
principalColumn: "TableName",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_LanguageText",
|
name: "Plat_H_LanguageText",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3258,23 +3258,23 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_LanguageText", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_LanguageText", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Plat_P_LanguageText_Plat_P_LanguageKey_ResourceName_Key",
|
name: "FK_Plat_H_LanguageText_Plat_H_LanguageKey_ResourceName_Key",
|
||||||
columns: x => new { x.ResourceName, x.Key },
|
columns: x => new { x.ResourceName, x.Key },
|
||||||
principalTable: "Plat_P_LanguageKey",
|
principalTable: "Plat_H_LanguageKey",
|
||||||
principalColumns: new[] { "ResourceName", "Key" },
|
principalColumns: new[] { "ResourceName", "Key" },
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Plat_P_LanguageText_Plat_P_Language_CultureName",
|
name: "FK_Plat_H_LanguageText_Plat_H_Language_CultureName",
|
||||||
column: x => x.CultureName,
|
column: x => x.CultureName,
|
||||||
principalTable: "Plat_P_Language",
|
principalTable: "Plat_H_Language",
|
||||||
principalColumn: "CultureName",
|
principalColumn: "CultureName",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_Notification",
|
name: "Plat_H_Notification",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3297,17 +3297,17 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_Notification", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_Notification", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Plat_P_Notification_Plat_P_NotificationRule_NotificationRuleId",
|
name: "FK_Plat_H_Notification_Plat_H_NotificationRule_NotificationRuleId",
|
||||||
column: x => x.NotificationRuleId,
|
column: x => x.NotificationRuleId,
|
||||||
principalTable: "Plat_P_NotificationRule",
|
principalTable: "Plat_H_NotificationRule",
|
||||||
principalColumn: "Id",
|
principalColumn: "Id",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_Country",
|
name: "Sas_H_Country",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3329,17 +3329,17 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_Country", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_Country", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_Country_Sas_P_CountryGroup_GroupName",
|
name: "FK_Sas_H_Country_Sas_H_CountryGroup_GroupName",
|
||||||
column: x => x.GroupName,
|
column: x => x.GroupName,
|
||||||
principalTable: "Sas_P_CountryGroup",
|
principalTable: "Sas_H_CountryGroup",
|
||||||
principalColumn: "Name",
|
principalColumn: "Name",
|
||||||
onDelete: ReferentialAction.Restrict);
|
onDelete: ReferentialAction.Restrict);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ForumTopic",
|
name: "Sas_H_ForumTopic",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3369,17 +3369,17 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ForumTopic", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ForumTopic", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_ForumTopic_Sas_P_ForumCategory_CategoryId",
|
name: "FK_Sas_H_ForumTopic_Sas_H_ForumCategory_CategoryId",
|
||||||
column: x => x.CategoryId,
|
column: x => x.CategoryId,
|
||||||
principalTable: "Sas_P_ForumCategory",
|
principalTable: "Sas_H_ForumCategory",
|
||||||
principalColumn: "Id",
|
principalColumn: "Id",
|
||||||
onDelete: ReferentialAction.Restrict);
|
onDelete: ReferentialAction.Restrict);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ListFormCustomization",
|
name: "Sas_H_ListFormCustomization",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3399,17 +3399,17 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ListFormCustomization", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ListFormCustomization", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_ListFormCustomization_Sas_P_ListForm_ListFormCode",
|
name: "FK_Sas_H_ListFormCustomization_Sas_H_ListForm_ListFormCode",
|
||||||
column: x => x.ListFormCode,
|
column: x => x.ListFormCode,
|
||||||
principalTable: "Sas_P_ListForm",
|
principalTable: "Sas_H_ListForm",
|
||||||
principalColumn: "ListFormCode",
|
principalColumn: "ListFormCode",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ListFormField",
|
name: "Sas_H_ListFormField",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3456,17 +3456,17 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ListFormField", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ListFormField", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_ListFormField_Sas_P_ListForm_ListFormCode",
|
name: "FK_Sas_H_ListFormField_Sas_H_ListForm_ListFormCode",
|
||||||
column: x => x.ListFormCode,
|
column: x => x.ListFormCode,
|
||||||
principalTable: "Sas_P_ListForm",
|
principalTable: "Sas_H_ListForm",
|
||||||
principalColumn: "ListFormCode",
|
principalColumn: "ListFormCode",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ListFormImport",
|
name: "Sas_H_ListFormImport",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3484,11 +3484,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ListFormImport", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ListFormImport", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_ListFormImport_Sas_P_ListForm_ListFormCode",
|
name: "FK_Sas_H_ListFormImport_Sas_H_ListForm_ListFormCode",
|
||||||
column: x => x.ListFormCode,
|
column: x => x.ListFormCode,
|
||||||
principalTable: "Sas_P_ListForm",
|
principalTable: "Sas_H_ListForm",
|
||||||
principalColumn: "ListFormCode",
|
principalColumn: "ListFormCode",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
@ -3795,7 +3795,7 @@ namespace Kurs.Platform.Migrations
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Plat_P_BackgroundWorker_MailQueueEvents",
|
name: "Plat_H_BackgroundWorker_MailQueueEvents",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3814,17 +3814,17 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Plat_P_BackgroundWorker_MailQueueEvents", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_BackgroundWorker_MailQueueEvents", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Plat_P_BackgroundWorker_MailQueueEvents_Plat_P_BackgroundWorker_MailQueue_AwsMessageId",
|
name: "FK_Plat_H_BackgroundWorker_MailQueueEvents_Plat_H_BackgroundWorker_MailQueue_AwsMessageId",
|
||||||
column: x => x.AwsMessageId,
|
column: x => x.AwsMessageId,
|
||||||
principalTable: "Plat_P_BackgroundWorker_MailQueue",
|
principalTable: "Plat_H_BackgroundWorker_MailQueue",
|
||||||
principalColumn: "AwsMessageId",
|
principalColumn: "AwsMessageId",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_City",
|
name: "Sas_H_City",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3843,16 +3843,16 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_City", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_City", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_City_Sas_P_Country_CountryId",
|
name: "FK_Sas_H_City_Sas_H_Country_CountryId",
|
||||||
column: x => x.CountryId,
|
column: x => x.CountryId,
|
||||||
principalTable: "Sas_P_Country",
|
principalTable: "Sas_H_Country",
|
||||||
principalColumn: "Id");
|
principalColumn: "Id");
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ForumPost",
|
name: "Sas_H_ForumPost",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3874,23 +3874,23 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ForumPost", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ForumPost", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_ForumPost_Sas_P_ForumPost_ParentPostId",
|
name: "FK_Sas_H_ForumPost_Sas_H_ForumPost_ParentPostId",
|
||||||
column: x => x.ParentPostId,
|
column: x => x.ParentPostId,
|
||||||
principalTable: "Sas_P_ForumPost",
|
principalTable: "Sas_H_ForumPost",
|
||||||
principalColumn: "Id",
|
principalColumn: "Id",
|
||||||
onDelete: ReferentialAction.Restrict);
|
onDelete: ReferentialAction.Restrict);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_ForumPost_Sas_P_ForumTopic_TopicId",
|
name: "FK_Sas_H_ForumPost_Sas_H_ForumTopic_TopicId",
|
||||||
column: x => x.TopicId,
|
column: x => x.TopicId,
|
||||||
principalTable: "Sas_P_ForumTopic",
|
principalTable: "Sas_H_ForumTopic",
|
||||||
principalColumn: "Id",
|
principalColumn: "Id",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_ListFormImportExecute",
|
name: "Sas_H_ListFormImportExecute",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -3912,11 +3912,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_ListFormImportExecute", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_ListFormImportExecute", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_ListFormImportExecute_Sas_P_ListFormImport_ImportId",
|
name: "FK_Sas_H_ListFormImportExecute_Sas_H_ListFormImport_ImportId",
|
||||||
column: x => x.ImportId,
|
column: x => x.ImportId,
|
||||||
principalTable: "Sas_P_ListFormImport",
|
principalTable: "Sas_H_ListFormImport",
|
||||||
principalColumn: "Id",
|
principalColumn: "Id",
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
@ -3983,7 +3983,7 @@ namespace Kurs.Platform.Migrations
|
||||||
});
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_P_District",
|
name: "Sas_H_District",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
|
@ -4004,11 +4004,11 @@ namespace Kurs.Platform.Migrations
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_Sas_P_District", x => x.Id);
|
table.PrimaryKey("PK_Sas_H_District", x => x.Id);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Sas_P_District_Sas_P_City_CityId",
|
name: "FK_Sas_H_District_Sas_H_City_CityId",
|
||||||
column: x => x.CityId,
|
column: x => x.CityId,
|
||||||
principalTable: "Sas_P_City",
|
principalTable: "Sas_H_City",
|
||||||
principalColumn: "Id");
|
principalColumn: "Id");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -4080,9 +4080,9 @@ namespace Kurs.Platform.Migrations
|
||||||
principalColumn: "Id",
|
principalColumn: "Id",
|
||||||
onDelete: ReferentialAction.Restrict);
|
onDelete: ReferentialAction.Restrict);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Adm_T_Partner_Sas_P_Currency_CurrencyId",
|
name: "FK_Adm_T_Partner_Sas_H_Currency_CurrencyId",
|
||||||
column: x => x.CurrencyId,
|
column: x => x.CurrencyId,
|
||||||
principalTable: "Sas_P_Currency",
|
principalTable: "Sas_H_Currency",
|
||||||
principalColumn: "Id");
|
principalColumn: "Id");
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Adm_T_Partner_Sas_T_Sector_SectorId",
|
name: "FK_Adm_T_Partner_Sas_T_Sector_SectorId",
|
||||||
|
|
@ -4146,9 +4146,9 @@ namespace Kurs.Platform.Migrations
|
||||||
principalColumn: "Id",
|
principalColumn: "Id",
|
||||||
onDelete: ReferentialAction.Restrict);
|
onDelete: ReferentialAction.Restrict);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_Adm_T_PartnerBank_Sas_P_Currency_CurrencyId",
|
name: "FK_Adm_T_PartnerBank_Sas_H_Currency_CurrencyId",
|
||||||
column: x => x.CurrencyId,
|
column: x => x.CurrencyId,
|
||||||
principalTable: "Sas_P_Currency",
|
principalTable: "Sas_H_Currency",
|
||||||
principalColumn: "Id");
|
principalColumn: "Id");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -5743,136 +5743,136 @@ namespace Kurs.Platform.Migrations
|
||||||
column: "ReferenceId");
|
column: "ReferenceId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Plat_P_BackgroundWorker_MailQueue_TableName",
|
name: "IX_Plat_H_BackgroundWorker_MailQueue_TableName",
|
||||||
table: "Plat_P_BackgroundWorker_MailQueue",
|
table: "Plat_H_BackgroundWorker_MailQueue",
|
||||||
column: "TableName");
|
column: "TableName");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Plat_P_BackgroundWorker_MailQueueEvents_AwsMessageId",
|
name: "IX_Plat_H_BackgroundWorker_MailQueueEvents_AwsMessageId",
|
||||||
table: "Plat_P_BackgroundWorker_MailQueueEvents",
|
table: "Plat_H_BackgroundWorker_MailQueueEvents",
|
||||||
column: "AwsMessageId");
|
column: "AwsMessageId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_MailQueueTableFormat",
|
name: "IX_MailQueueTableFormat",
|
||||||
table: "Plat_P_BackgroundWorker_MailQueueTableFormat",
|
table: "Plat_H_BackgroundWorker_MailQueueTableFormat",
|
||||||
columns: new[] { "TableName", "Order" },
|
columns: new[] { "TableName", "Order" },
|
||||||
unique: true);
|
unique: true);
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Plat_P_LanguageKey_ResourceName_Key",
|
name: "IX_Plat_H_LanguageKey_ResourceName_Key",
|
||||||
table: "Plat_P_LanguageKey",
|
table: "Plat_H_LanguageKey",
|
||||||
columns: new[] { "ResourceName", "Key" },
|
columns: new[] { "ResourceName", "Key" },
|
||||||
unique: true);
|
unique: true);
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Plat_P_LanguageText_CultureName",
|
name: "IX_Plat_H_LanguageText_CultureName",
|
||||||
table: "Plat_P_LanguageText",
|
table: "Plat_H_LanguageText",
|
||||||
column: "CultureName");
|
column: "CultureName");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Plat_P_LanguageText_ResourceName_Key",
|
name: "IX_Plat_H_LanguageText_ResourceName_Key",
|
||||||
table: "Plat_P_LanguageText",
|
table: "Plat_H_LanguageText",
|
||||||
columns: new[] { "ResourceName", "Key" });
|
columns: new[] { "ResourceName", "Key" });
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Plat_P_Notification_NotificationRuleId",
|
name: "IX_Plat_H_Notification_NotificationRuleId",
|
||||||
table: "Plat_P_Notification",
|
table: "Plat_H_Notification",
|
||||||
column: "NotificationRuleId");
|
column: "NotificationRuleId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_City_Country_Code",
|
name: "IX_Sas_H_City_Country_Code",
|
||||||
table: "Sas_P_City",
|
table: "Sas_H_City",
|
||||||
columns: new[] { "Country", "Code" },
|
columns: new[] { "Country", "Code" },
|
||||||
unique: true,
|
unique: true,
|
||||||
filter: "[Country] IS NOT NULL");
|
filter: "[Country] IS NOT NULL");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_City_CountryId",
|
name: "IX_Sas_H_City_CountryId",
|
||||||
table: "Sas_P_City",
|
table: "Sas_H_City",
|
||||||
column: "CountryId");
|
column: "CountryId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_Country_Code",
|
name: "IX_Sas_H_Country_Code",
|
||||||
table: "Sas_P_Country",
|
table: "Sas_H_Country",
|
||||||
column: "Code",
|
column: "Code",
|
||||||
unique: true);
|
unique: true);
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_Country_GroupName",
|
name: "IX_Sas_H_Country_GroupName",
|
||||||
table: "Sas_P_Country",
|
table: "Sas_H_Country",
|
||||||
column: "GroupName");
|
column: "GroupName");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_CountryGroup_Name",
|
name: "IX_Sas_H_CountryGroup_Name",
|
||||||
table: "Sas_P_CountryGroup",
|
table: "Sas_H_CountryGroup",
|
||||||
column: "Name",
|
column: "Name",
|
||||||
unique: true);
|
unique: true);
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_District_CityId",
|
name: "IX_Sas_H_District_CityId",
|
||||||
table: "Sas_P_District",
|
table: "Sas_H_District",
|
||||||
column: "CityId");
|
column: "CityId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_District_Country_City_Name_Township_Street_ZipCode",
|
name: "IX_Sas_H_District_Country_City_Name_Township_Street_ZipCode",
|
||||||
table: "Sas_P_District",
|
table: "Sas_H_District",
|
||||||
columns: new[] { "Country", "City", "Name", "Township", "Street", "ZipCode" },
|
columns: new[] { "Country", "City", "Name", "Township", "Street", "ZipCode" },
|
||||||
unique: true,
|
unique: true,
|
||||||
filter: "[Country] IS NOT NULL AND [Township] IS NOT NULL AND [Street] IS NOT NULL AND [ZipCode] IS NOT NULL");
|
filter: "[Country] IS NOT NULL AND [Township] IS NOT NULL AND [Street] IS NOT NULL AND [ZipCode] IS NOT NULL");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ForumCategory_DisplayOrder",
|
name: "IX_Sas_H_ForumCategory_DisplayOrder",
|
||||||
table: "Sas_P_ForumCategory",
|
table: "Sas_H_ForumCategory",
|
||||||
column: "DisplayOrder");
|
column: "DisplayOrder");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ForumPost_ParentPostId",
|
name: "IX_Sas_H_ForumPost_ParentPostId",
|
||||||
table: "Sas_P_ForumPost",
|
table: "Sas_H_ForumPost",
|
||||||
column: "ParentPostId");
|
column: "ParentPostId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ForumPost_TopicId",
|
name: "IX_Sas_H_ForumPost_TopicId",
|
||||||
table: "Sas_P_ForumPost",
|
table: "Sas_H_ForumPost",
|
||||||
column: "TopicId");
|
column: "TopicId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ForumTopic_CategoryId",
|
name: "IX_Sas_H_ForumTopic_CategoryId",
|
||||||
table: "Sas_P_ForumTopic",
|
table: "Sas_H_ForumTopic",
|
||||||
column: "CategoryId");
|
column: "CategoryId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ForumTopic_IsPinned",
|
name: "IX_Sas_H_ForumTopic_IsPinned",
|
||||||
table: "Sas_P_ForumTopic",
|
table: "Sas_H_ForumTopic",
|
||||||
column: "IsPinned");
|
column: "IsPinned");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ForumTopic_LastPostDate",
|
name: "IX_Sas_H_ForumTopic_LastPostDate",
|
||||||
table: "Sas_P_ForumTopic",
|
table: "Sas_H_ForumTopic",
|
||||||
column: "LastPostDate");
|
column: "LastPostDate");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ListFormCustomization_ListFormCode",
|
name: "IX_Sas_H_ListFormCustomization_ListFormCode",
|
||||||
table: "Sas_P_ListFormCustomization",
|
table: "Sas_H_ListFormCustomization",
|
||||||
column: "ListFormCode");
|
column: "ListFormCode");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ListFormField_ListFormCode",
|
name: "IX_Sas_H_ListFormField_ListFormCode",
|
||||||
table: "Sas_P_ListFormField",
|
table: "Sas_H_ListFormField",
|
||||||
column: "ListFormCode");
|
column: "ListFormCode");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ListFormImport_ListFormCode",
|
name: "IX_Sas_H_ListFormImport_ListFormCode",
|
||||||
table: "Sas_P_ListFormImport",
|
table: "Sas_H_ListFormImport",
|
||||||
column: "ListFormCode");
|
column: "ListFormCode");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_ListFormImportExecute_ImportId",
|
name: "IX_Sas_H_ListFormImportExecute_ImportId",
|
||||||
table: "Sas_P_ListFormImportExecute",
|
table: "Sas_H_ListFormImportExecute",
|
||||||
column: "ImportId");
|
column: "ImportId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_P_Route_Key",
|
name: "IX_Sas_H_Route_Key",
|
||||||
table: "Sas_P_Route",
|
table: "Sas_H_Route",
|
||||||
column: "Key",
|
column: "Key",
|
||||||
unique: true);
|
unique: true);
|
||||||
|
|
||||||
|
|
@ -6205,22 +6205,22 @@ namespace Kurs.Platform.Migrations
|
||||||
name: "OpenIddictTokens");
|
name: "OpenIddictTokens");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_AiBot");
|
name: "Plat_H_AiBot");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_BackgroundWorker");
|
name: "Plat_H_BackgroundWorker");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_BackgroundWorker_MailQueueEvents");
|
name: "Plat_H_BackgroundWorker_MailQueueEvents");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_LanguageText");
|
name: "Plat_H_LanguageText");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_Notification");
|
name: "Plat_H_Notification");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_SettingDefinition");
|
name: "Plat_H_SettingDefinition");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Prt_T_Interesting");
|
name: "Prt_T_Interesting");
|
||||||
|
|
@ -6241,34 +6241,34 @@ namespace Kurs.Platform.Migrations
|
||||||
name: "Prt_T_Source");
|
name: "Prt_T_Source");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ContactTag");
|
name: "Sas_H_ContactTag");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ContactTitle");
|
name: "Sas_H_ContactTitle");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_DataSource");
|
name: "Sas_H_DataSource");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_District");
|
name: "Sas_H_District");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ForumPost");
|
name: "Sas_H_ForumPost");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ListFormCustomization");
|
name: "Sas_H_ListFormCustomization");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ListFormField");
|
name: "Sas_H_ListFormField");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ListFormImportExecute");
|
name: "Sas_H_ListFormImportExecute");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_Menu");
|
name: "Sas_H_Menu");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_Route");
|
name: "Sas_H_Route");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_T_Activity");
|
name: "Sas_T_Activity");
|
||||||
|
|
@ -6379,25 +6379,25 @@ namespace Kurs.Platform.Migrations
|
||||||
name: "OpenIddictAuthorizations");
|
name: "OpenIddictAuthorizations");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_BackgroundWorker_MailQueue");
|
name: "Plat_H_BackgroundWorker_MailQueue");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_LanguageKey");
|
name: "Plat_H_LanguageKey");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_Language");
|
name: "Plat_H_Language");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_NotificationRule");
|
name: "Plat_H_NotificationRule");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_City");
|
name: "Sas_H_City");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ForumTopic");
|
name: "Sas_H_ForumTopic");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ListFormImport");
|
name: "Sas_H_ListFormImport");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_T_CustomEntity");
|
name: "Sas_T_CustomEntity");
|
||||||
|
|
@ -6415,7 +6415,7 @@ namespace Kurs.Platform.Migrations
|
||||||
name: "Crm_T_CustomerType");
|
name: "Crm_T_CustomerType");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_Currency");
|
name: "Sas_H_Currency");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_T_Sector");
|
name: "Sas_T_Sector");
|
||||||
|
|
@ -6451,22 +6451,22 @@ namespace Kurs.Platform.Migrations
|
||||||
name: "OpenIddictApplications");
|
name: "OpenIddictApplications");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_P_BackgroundWorker_MailQueueTableFormat");
|
name: "Plat_H_BackgroundWorker_MailQueueTableFormat");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_Country");
|
name: "Sas_H_Country");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ForumCategory");
|
name: "Sas_H_ForumCategory");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_ListForm");
|
name: "Sas_H_ListForm");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_T_ReportCategory");
|
name: "Sas_T_ReportCategory");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_P_CountryGroup");
|
name: "Sas_H_CountryGroup");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Acc_T_Bank");
|
name: "Acc_T_Bank");
|
||||||
|
|
@ -83,7 +83,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_Language", (string)null);
|
b.ToTable("Plat_H_Language", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Languages.Entities.LanguageKey", b =>
|
modelBuilder.Entity("Kurs.Languages.Entities.LanguageKey", b =>
|
||||||
|
|
@ -137,7 +137,7 @@ namespace Kurs.Platform.Migrations
|
||||||
b.HasIndex("ResourceName", "Key")
|
b.HasIndex("ResourceName", "Key")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Plat_P_LanguageKey", (string)null);
|
b.ToTable("Plat_H_LanguageKey", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Languages.Entities.LanguageText", b =>
|
modelBuilder.Entity("Kurs.Languages.Entities.LanguageText", b =>
|
||||||
|
|
@ -200,7 +200,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ResourceName", "Key");
|
b.HasIndex("ResourceName", "Key");
|
||||||
|
|
||||||
b.ToTable("Plat_P_LanguageText", (string)null);
|
b.ToTable("Plat_H_LanguageText", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueue", b =>
|
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueue", b =>
|
||||||
|
|
@ -291,7 +291,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("TableName");
|
b.HasIndex("TableName");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker_MailQueue", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker_MailQueue", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueEvents", b =>
|
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueEvents", b =>
|
||||||
|
|
@ -353,7 +353,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("AwsMessageId");
|
b.HasIndex("AwsMessageId");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker_MailQueueEvents", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker_MailQueueEvents", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueTableFormat", b =>
|
modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueTableFormat", b =>
|
||||||
|
|
@ -419,7 +419,7 @@ namespace Kurs.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasDatabaseName("IX_MailQueueTableFormat");
|
.HasDatabaseName("IX_MailQueueTableFormat");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker_MailQueueTableFormat", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker_MailQueueTableFormat", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Notifications.Entities.Notification", b =>
|
modelBuilder.Entity("Kurs.Notifications.Entities.Notification", b =>
|
||||||
|
|
@ -497,7 +497,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("NotificationRuleId");
|
b.HasIndex("NotificationRuleId");
|
||||||
|
|
||||||
b.ToTable("Plat_P_Notification", (string)null);
|
b.ToTable("Plat_H_Notification", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Notifications.Entities.NotificationRule", b =>
|
modelBuilder.Entity("Kurs.Notifications.Entities.NotificationRule", b =>
|
||||||
|
|
@ -566,7 +566,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_NotificationRule", (string)null);
|
b.ToTable("Plat_H_NotificationRule", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.About", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.About", b =>
|
||||||
|
|
@ -701,7 +701,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_AiBot", (string)null);
|
b.ToTable("Plat_H_AiBot", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Announcement", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Announcement", b =>
|
||||||
|
|
@ -1006,7 +1006,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_BackgroundWorker", (string)null);
|
b.ToTable("Plat_H_BackgroundWorker", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Badge", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Badge", b =>
|
||||||
|
|
@ -1750,7 +1750,7 @@ namespace Kurs.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Sas_P_City", (string)null);
|
b.ToTable("Sas_H_City", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Class", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Class", b =>
|
||||||
|
|
@ -2401,7 +2401,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ContactTag", (string)null);
|
b.ToTable("Sas_H_ContactTag", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ContactTitle", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ContactTitle", b =>
|
||||||
|
|
@ -2450,7 +2450,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ContactTitle", (string)null);
|
b.ToTable("Sas_H_ContactTitle", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.CostCenter", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.CostCenter", b =>
|
||||||
|
|
@ -2621,7 +2621,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("GroupName");
|
b.HasIndex("GroupName");
|
||||||
|
|
||||||
b.ToTable("Sas_P_Country", (string)null);
|
b.ToTable("Sas_H_Country", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.CountryGroup", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.CountryGroup", b =>
|
||||||
|
|
@ -2669,7 +2669,7 @@ namespace Kurs.Platform.Migrations
|
||||||
b.HasIndex("Name")
|
b.HasIndex("Name")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Sas_P_CountryGroup", (string)null);
|
b.ToTable("Sas_H_CountryGroup", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Currency", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Currency", b =>
|
||||||
|
|
@ -2735,7 +2735,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_Currency", (string)null);
|
b.ToTable("Sas_H_Currency", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.CustomComponent", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.CustomComponent", b =>
|
||||||
|
|
@ -3209,7 +3209,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_DataSource", (string)null);
|
b.ToTable("Sas_H_DataSource", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Demo", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Demo", b =>
|
||||||
|
|
@ -3497,7 +3497,7 @@ namespace Kurs.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL AND [Street] IS NOT NULL AND [ZipCode] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL AND [Street] IS NOT NULL AND [ZipCode] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Sas_P_District", (string)null);
|
b.ToTable("Sas_H_District", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.Document", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.Document", b =>
|
||||||
|
|
@ -5141,7 +5141,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListForm", (string)null);
|
b.ToTable("Sas_H_ListForm", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormCustomization", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormCustomization", b =>
|
||||||
|
|
@ -5206,7 +5206,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ListFormCode");
|
b.HasIndex("ListFormCode");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormCustomization", (string)null);
|
b.ToTable("Sas_H_ListFormCustomization", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormField", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormField", b =>
|
||||||
|
|
@ -5373,7 +5373,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ListFormCode");
|
b.HasIndex("ListFormCode");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormField", (string)null);
|
b.ToTable("Sas_H_ListFormField", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImport", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImport", b =>
|
||||||
|
|
@ -5433,7 +5433,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ListFormCode");
|
b.HasIndex("ListFormCode");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormImport", (string)null);
|
b.ToTable("Sas_H_ListFormImport", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImportExecute", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.ListFormImportExecute", b =>
|
||||||
|
|
@ -5503,7 +5503,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("ImportId");
|
b.HasIndex("ImportId");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ListFormImportExecute", (string)null);
|
b.ToTable("Sas_H_ListFormImportExecute", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.MaterialGroup", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.MaterialGroup", b =>
|
||||||
|
|
@ -5908,7 +5908,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Sas_P_Menu", (string)null);
|
b.ToTable("Sas_H_Menu", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.NoteType", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.NoteType", b =>
|
||||||
|
|
@ -8051,7 +8051,7 @@ namespace Kurs.Platform.Migrations
|
||||||
b.HasIndex("Key")
|
b.HasIndex("Key")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Sas_P_Route", (string)null);
|
b.ToTable("Sas_H_Route", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Entities.SalesRejectionReason", b =>
|
modelBuilder.Entity("Kurs.Platform.Entities.SalesRejectionReason", b =>
|
||||||
|
|
@ -10187,7 +10187,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("DisplayOrder");
|
b.HasIndex("DisplayOrder");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ForumCategory", (string)null);
|
b.ToTable("Sas_H_ForumCategory", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Forum.ForumPost", b =>
|
modelBuilder.Entity("Kurs.Platform.Forum.ForumPost", b =>
|
||||||
|
|
@ -10257,7 +10257,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("TopicId");
|
b.HasIndex("TopicId");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ForumPost", (string)null);
|
b.ToTable("Sas_H_ForumPost", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Platform.Forum.ForumTopic", b =>
|
modelBuilder.Entity("Kurs.Platform.Forum.ForumTopic", b =>
|
||||||
|
|
@ -10356,7 +10356,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("LastPostDate");
|
b.HasIndex("LastPostDate");
|
||||||
|
|
||||||
b.ToTable("Sas_P_ForumTopic", (string)null);
|
b.ToTable("Sas_H_ForumTopic", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Kurs.Settings.Entities.SettingDefinition", b =>
|
modelBuilder.Entity("Kurs.Settings.Entities.SettingDefinition", b =>
|
||||||
|
|
@ -10453,7 +10453,7 @@ namespace Kurs.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Plat_P_SettingDefinition", (string)null);
|
b.ToTable("Plat_H_SettingDefinition", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue