Recreate initial migration
This commit is contained in:
@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
|||||||
namespace Hcs.WebApp.Data.Hcs.Migrations
|
namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(HcsDbContext))]
|
[DbContext(typeof(HcsDbContext))]
|
||||||
[Migration("20251101105658_CreateHcsSchema")]
|
[Migration("20251105064709_CreateHcsSchema")]
|
||||||
public partial class CreateHcsSchema
|
public partial class CreateHcsSchema
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@ -41,6 +41,9 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
|||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
|
b.Property<int>("Progress")
|
||||||
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<DateTime?>("StartedAt")
|
b.Property<DateTime?>("StartedAt")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
@ -137,7 +140,6 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
|||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
b.Property<string>("Json")
|
b.Property<string>("Json")
|
||||||
.IsRequired()
|
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
b.Property<Guid>("RegistryId")
|
b.Property<Guid>("RegistryId")
|
||||||
@ -21,6 +21,7 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
|||||||
StartedAt = table.Column<DateTime>(type: "datetime2", nullable: true),
|
StartedAt = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||||
EndedAt = table.Column<DateTime>(type: "datetime2", nullable: true),
|
EndedAt = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||||
Step = table.Column<int>(type: "int", nullable: false),
|
Step = table.Column<int>(type: "int", nullable: false),
|
||||||
|
Progress = table.Column<int>(type: "int", nullable: false),
|
||||||
FailureReason = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
FailureReason = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
@ -82,7 +83,7 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
|||||||
RegistryId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
RegistryId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
Code = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
Code = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||||
GUID = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
GUID = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||||
Json = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
Json = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
@ -38,6 +38,9 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
|||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
|
b.Property<int>("Progress")
|
||||||
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<DateTime?>("StartedAt")
|
b.Property<DateTime?>("StartedAt")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
@ -134,7 +137,6 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
|||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
b.Property<string>("Json")
|
b.Property<string>("Json")
|
||||||
.IsRequired()
|
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
b.Property<Guid>("RegistryId")
|
b.Property<Guid>("RegistryId")
|
||||||
|
|||||||
Reference in New Issue
Block a user