Redo initial migration
This commit is contained in:
@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
{
|
||||
[DbContext(typeof(HcsDbContext))]
|
||||
[Migration("20251028065710_CreateHcsSchema")]
|
||||
[Migration("20251101105658_CreateHcsSchema")]
|
||||
public partial class CreateHcsSchema
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -102,9 +102,6 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
b.Property<bool>("IsCommon")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("LastSyncError")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int?>("LastSyncOperationId")
|
||||
.HasColumnType("int");
|
||||
|
||||
@ -139,13 +136,13 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<Guid>("RegistryId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Xml")
|
||||
b.Property<string>("Json")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<Guid>("RegistryId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("RegistryId");
|
||||
@ -62,8 +62,7 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
Name = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
IsCommon = table.Column<bool>(type: "bit", nullable: false),
|
||||
SyncedAt = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastSyncOperationId = table.Column<int>(type: "int", nullable: true),
|
||||
LastSyncError = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
||||
LastSyncOperationId = table.Column<int>(type: "int", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
@ -83,7 +82,7 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
RegistryId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
Code = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
GUID = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Xml = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
||||
Json = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
@ -99,9 +99,6 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
b.Property<bool>("IsCommon")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("LastSyncError")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int?>("LastSyncOperationId")
|
||||
.HasColumnType("int");
|
||||
|
||||
@ -136,13 +133,13 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<Guid>("RegistryId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Xml")
|
||||
b.Property<string>("Json")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<Guid>("RegistryId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("RegistryId");
|
||||
|
||||
Reference in New Issue
Block a user