Browse Source
Update the migrations for template projects.
pull/18426/head
maliming
3 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
24 changed files with
96 additions and
8 deletions
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20231220020330_Initial.Designer.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/20231220020330_Initial.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Migrations/MyProjectNameDbContextModelSnapshot.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20231220020415_Initial.Designer.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/20231220020415_Initial.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Migrations/MyProjectNameDbContextModelSnapshot.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20231220020502_Initial.Designer.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/20231220020502_Initial.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Migrations/MyProjectNameDbContextModelSnapshot.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20231220020554_Initial.Designer.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/20231220020554_Initial.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Migrations/MyProjectNameDbContextModelSnapshot.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20231220020240_Initial.Designer.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/20231220020240_Initial.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/Migrations/MyProjectNameDbContextModelSnapshot.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20231220020703_Initial.Designer.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/20231220020703_Initial.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/Migrations/AuthServerDbContextModelSnapshot.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20231220020754_Initial.Designer.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/20231220020754_Initial.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Migrations/UnifiedDbContextModelSnapshot.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20231220020817_Initial.Designer.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/20231220020817_Initial.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(MyProjectNameDbContext))] |
|
|
|
[Migration("20231207053812_Initial")] |
|
|
|
[Migration("20231220020330_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1687,6 +1687,11 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -296,6 +296,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1684,6 +1684,11 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(MyProjectNameDbContext))] |
|
|
|
[Migration("20231207053830_Initial")] |
|
|
|
[Migration("20231220020415_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1687,6 +1687,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -296,6 +296,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1684,6 +1684,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Host.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(MyProjectNameDbContext))] |
|
|
|
[Migration("20231207053820_Initial")] |
|
|
|
[Migration("20231220020502_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1687,6 +1687,11 @@ namespace MyCompanyName.MyProjectName.Host.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -296,6 +296,7 @@ namespace MyCompanyName.MyProjectName.Host.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1684,6 +1684,11 @@ namespace MyCompanyName.MyProjectName.Host.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Mvc.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(MyProjectNameDbContext))] |
|
|
|
[Migration("20231207053825_Initial")] |
|
|
|
[Migration("20231220020554_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1687,6 +1687,11 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -296,6 +296,7 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1684,6 +1684,11 @@ namespace MyCompanyName.MyProjectName.Mvc.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(MyProjectNameDbContext))] |
|
|
|
[Migration("20231207053523_Initial")] |
|
|
|
[Migration("20231220020240_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1739,6 +1739,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -317,6 +317,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1736,6 +1736,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(AuthServerDbContext))] |
|
|
|
[Migration("20231207053828_Initial")] |
|
|
|
[Migration("20231220020703_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1687,6 +1687,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -296,6 +296,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1684,6 +1684,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(UnifiedDbContext))] |
|
|
|
[Migration("20231115065621_Initial")] |
|
|
|
[Migration("20231220020754_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1328,6 +1328,11 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -296,6 +296,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1325,6 +1325,11 @@ namespace MyCompanyName.MyProjectName.Blazor.Server.Host.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(UnifiedDbContext))] |
|
|
|
[Migration("20231115065707_Initial")] |
|
|
|
[Migration("20231220020817_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -1328,6 +1328,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
@ -296,6 +296,7 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
Name = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
NormalizedName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: false), |
|
|
|
EntityVersion = table.Column<int>(type: "int", nullable: false), |
|
|
|
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: false), |
|
|
|
@ -1325,6 +1325,11 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.Property<string>("NormalizedName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(64) |
|
|
|
.HasColumnType("nvarchar(64)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name"); |
|
|
|
|