Browse Source

Merge pull request #17107 from abpframework/table-name

Rename `AbpSettingDefinitionRecords` table.
pull/17114/head
liangshiwei 3 years ago
committed by GitHub
parent
commit
67fa6774d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/20230713030300_Initial.Designer.cs
  2. 14
      modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/20230713030300_Initial.cs
  3. 8
      modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/DemoAppDbContextModelSnapshot.cs
  4. 2
      modules/setting-management/src/Volo.Abp.SettingManagement.EntityFrameworkCore/Volo/Abp/SettingManagement/EntityFrameworkCore/SettingManagementDbContextModelBuilderExtensions.cs
  5. 2
      modules/setting-management/src/Volo.Abp.SettingManagement.MongoDB/Volo/Abp/SettingManagement/MongoDB/SettingManagementMongoDbContextExtensions.cs
  6. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20230713030359_Initial.Designer.cs
  7. 10
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20230713030359_Initial.cs
  8. 2
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs
  9. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20230713030712_Initial.Designer.cs
  10. 10
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20230713030712_Initial.cs
  11. 2
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs
  12. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20230713030357_Initial.Designer.cs
  13. 10
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20230713030357_Initial.cs
  14. 2
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs
  15. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20230713030711_Initial.Designer.cs
  16. 10
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20230713030711_Initial.cs
  17. 2
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs
  18. 4
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20230713030629_Initial.Designer.cs
  19. 10
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20230713030629_Initial.cs
  20. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs
  21. 4
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20230713030452_Initial.Designer.cs
  22. 10
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20230713030452_Initial.cs
  23. 2
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs
  24. 4
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20230713030436_Initial.Designer.cs
  25. 10
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20230713030436_Initial.cs
  26. 2
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs
  27. 4
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20230713030513_Initial.Designer.cs
  28. 10
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20230713030513_Initial.cs
  29. 2
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs

10
modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/20230626120017_Initial.Designer.cs → modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/20230713030300_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.SettingManagement.DemoApp;
namespace Volo.Abp.SettingManagement.DemoApp.Migrations
{
[DbContext(typeof(DemoAppDbContext))]
[Migration("20230626120017_Initial")]
[Migration("20230713030300_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -835,10 +835,12 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
.HasColumnType("uniqueidentifier");
b.Property<string>("DefaultValue")
.HasColumnType("nvarchar(max)");
.HasMaxLength(256)
.HasColumnType("nvarchar(256)");
b.Property<string>("Description")
.HasColumnType("nvarchar(max)");
.HasMaxLength(512)
.HasColumnType("nvarchar(512)");
b.Property<string>("DisplayName")
.IsRequired()
@ -872,7 +874,7 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>

14
modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/20230626120017_Initial.cs → modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/20230713030300_Initial.cs

@ -171,14 +171,14 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Name = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
DisplayName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false),
Description = table.Column<string>(type: "nvarchar(max)", nullable: true),
DefaultValue = table.Column<string>(type: "nvarchar(max)", nullable: true),
Description = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
DefaultValue = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
IsVisibleToClients = table.Column<bool>(type: "bit", nullable: false),
Providers = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
IsInherited = table.Column<bool>(type: "bit", nullable: false),
@ -187,7 +187,7 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -502,8 +502,8 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -583,7 +583,7 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

8
modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/Migrations/DemoAppDbContextModelSnapshot.cs

@ -832,10 +832,12 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
.HasColumnType("uniqueidentifier");
b.Property<string>("DefaultValue")
.HasColumnType("nvarchar(max)");
.HasMaxLength(256)
.HasColumnType("nvarchar(256)");
b.Property<string>("Description")
.HasColumnType("nvarchar(max)");
.HasMaxLength(512)
.HasColumnType("nvarchar(512)");
b.Property<string>("DisplayName")
.IsRequired()
@ -869,7 +871,7 @@ namespace Volo.Abp.SettingManagement.DemoApp.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>

2
modules/setting-management/src/Volo.Abp.SettingManagement.EntityFrameworkCore/Volo/Abp/SettingManagement/EntityFrameworkCore/SettingManagementDbContextModelBuilderExtensions.cs

@ -38,7 +38,7 @@ public static class SettingManagementDbContextModelBuilderExtensions
builder.Entity<SettingDefinitionRecord>(b =>
{
b.ToTable(AbpSettingManagementDbProperties.DbTablePrefix + "SettingDefinitionRecords", AbpSettingManagementDbProperties.DbSchema);
b.ToTable(AbpSettingManagementDbProperties.DbTablePrefix + "SettingDefinitions", AbpSettingManagementDbProperties.DbSchema);
b.ConfigureByConvention();

2
modules/setting-management/src/Volo.Abp.SettingManagement.MongoDB/Volo/Abp/SettingManagement/MongoDB/SettingManagementMongoDbContextExtensions.cs

@ -16,7 +16,7 @@ public static class SettingManagementMongoDbContextExtensions
builder.Entity<SettingDefinitionRecord>(b =>
{
b.CollectionName = AbpSettingManagementDbProperties.DbTablePrefix + "SettingDefinitionRecords";
b.CollectionName = AbpSettingManagementDbProperties.DbTablePrefix + "SettingDefinitions";
});
}
}

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20230627075208_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20230713030359_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
{
[DbContext(typeof(MyProjectNameDbContext))]
[Migration("20230627075208_Initial")]
[Migration("20230713030359_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1599,7 +1599,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20230627075208_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20230713030359_Initial.cs

@ -256,7 +256,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -272,7 +272,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -893,8 +893,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -1024,7 +1024,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -1596,7 +1596,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20230627075212_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20230713030712_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations
{
[DbContext(typeof(MyProjectNameDbContext))]
[Migration("20230627075212_Initial")]
[Migration("20230713030712_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1599,7 +1599,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20230627075212_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20230713030712_Initial.cs

@ -256,7 +256,7 @@ namespace MyCompanyName.MyProjectName.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -272,7 +272,7 @@ namespace MyCompanyName.MyProjectName.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -893,8 +893,8 @@ namespace MyCompanyName.MyProjectName.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -1024,7 +1024,7 @@ namespace MyCompanyName.MyProjectName.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -1596,7 +1596,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20230627075201_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20230713030357_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Host.Migrations
{
[DbContext(typeof(MyProjectNameDbContext))]
[Migration("20230627075201_Initial")]
[Migration("20230713030357_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1599,7 +1599,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20230627075201_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20230713030357_Initial.cs

@ -256,7 +256,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -272,7 +272,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -893,8 +893,8 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -1024,7 +1024,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -1596,7 +1596,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20230627075212_Initial.Designer.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20230713030711_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Mvc.Migrations
{
[DbContext(typeof(MyProjectNameDbContext))]
[Migration("20230627075212_Initial")]
[Migration("20230713030711_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1599,7 +1599,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20230627075212_Initial.cs → templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20230713030711_Initial.cs

@ -256,7 +256,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -272,7 +272,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -893,8 +893,8 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -1024,7 +1024,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -1596,7 +1596,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

4
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20230627074919_Initial.Designer.cs → templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20230713030629_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations
{
[DbContext(typeof(MyProjectNameDbContext))]
[Migration("20230627074919_Initial")]
[Migration("20230713030629_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1650,7 +1650,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20230627074919_Initial.cs → templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20230713030629_Initial.cs

@ -277,7 +277,7 @@ namespace MyCompanyName.MyProjectName.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -293,7 +293,7 @@ namespace MyCompanyName.MyProjectName.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -919,8 +919,8 @@ namespace MyCompanyName.MyProjectName.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -1053,7 +1053,7 @@ namespace MyCompanyName.MyProjectName.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs

@ -1647,7 +1647,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

4
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20230627075218_Initial.Designer.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20230713030452_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations
{
[DbContext(typeof(AuthServerDbContext))]
[Migration("20230627075218_Initial")]
[Migration("20230713030452_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1599,7 +1599,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20230627075218_Initial.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20230713030452_Initial.cs

@ -256,7 +256,7 @@ namespace MyCompanyName.MyProjectName.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -272,7 +272,7 @@ namespace MyCompanyName.MyProjectName.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -893,8 +893,8 @@ namespace MyCompanyName.MyProjectName.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -1024,7 +1024,7 @@ namespace MyCompanyName.MyProjectName.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs

@ -1596,7 +1596,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

4
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20230627075222_Initial.Designer.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20230713030436_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
{
[DbContext(typeof(UnifiedDbContext))]
[Migration("20230627075222_Initial")]
[Migration("20230713030436_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1258,7 +1258,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20230627075222_Initial.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20230713030436_Initial.cs

@ -256,7 +256,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -272,7 +272,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -760,8 +760,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -861,7 +861,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs

@ -1255,7 +1255,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

4
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20230627075318_Initial.Designer.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20230713030513_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace MyCompanyName.MyProjectName.Migrations
{
[DbContext(typeof(UnifiedDbContext))]
[Migration("20230627075318_Initial")]
[Migration("20230713030513_Initial")]
partial class Initial
{
/// <inheritdoc />
@ -1258,7 +1258,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

10
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20230627075318_Initial.cs → templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20230713030513_Initial.cs

@ -256,7 +256,7 @@ namespace MyCompanyName.MyProjectName.Migrations
});
migrationBuilder.CreateTable(
name: "AbpSettingDefinitionRecords",
name: "AbpSettingDefinitions",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
@ -272,7 +272,7 @@ namespace MyCompanyName.MyProjectName.Migrations
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSettingDefinitionRecords", x => x.Id);
table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
});
migrationBuilder.CreateTable(
@ -760,8 +760,8 @@ namespace MyCompanyName.MyProjectName.Migrations
columns: new[] { "TenantId", "UserId" });
migrationBuilder.CreateIndex(
name: "IX_AbpSettingDefinitionRecords_Name",
table: "AbpSettingDefinitionRecords",
name: "IX_AbpSettingDefinitions_Name",
table: "AbpSettingDefinitions",
column: "Name",
unique: true);
@ -861,7 +861,7 @@ namespace MyCompanyName.MyProjectName.Migrations
name: "AbpSecurityLogs");
migrationBuilder.DropTable(
name: "AbpSettingDefinitionRecords");
name: "AbpSettingDefinitions");
migrationBuilder.DropTable(
name: "AbpSettings");

2
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs

@ -1255,7 +1255,7 @@ namespace MyCompanyName.MyProjectName.Migrations
b.HasIndex("Name")
.IsUnique();
b.ToTable("AbpSettingDefinitionRecords", (string)null);
b.ToTable("AbpSettingDefinitions", (string)null);
});
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>

Loading…
Cancel
Save