Add FileToParse entity
This commit is contained in:
@ -56,6 +56,30 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
b.ToTable("Campaigns");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Hcs.WebApp.Data.Hcs.FileToParse", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int?>("LastParseOperationId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<DateTime?>("ParsedAt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("Path")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("LastParseOperationId");
|
||||
|
||||
b.ToTable("FilesToParse");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Hcs.WebApp.Data.Hcs.House", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
@ -189,10 +213,19 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
b.ToTable("Elements");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Hcs.WebApp.Data.Hcs.FileToParse", b =>
|
||||
{
|
||||
b.HasOne("Hcs.WebApp.Data.Hcs.Operation", "LastParseOperation")
|
||||
.WithMany("FilesToParse")
|
||||
.HasForeignKey("LastParseOperationId");
|
||||
|
||||
b.Navigation("LastParseOperation");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Hcs.WebApp.Data.Hcs.House", b =>
|
||||
{
|
||||
b.HasOne("Hcs.WebApp.Data.Hcs.Operation", "LastSyncOperation")
|
||||
.WithMany()
|
||||
.WithMany("Houses")
|
||||
.HasForeignKey("LastSyncOperationId");
|
||||
|
||||
b.Navigation("LastSyncOperation");
|
||||
@ -236,6 +269,10 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
|
||||
modelBuilder.Entity("Hcs.WebApp.Data.Hcs.Operation", b =>
|
||||
{
|
||||
b.Navigation("FilesToParse");
|
||||
|
||||
b.Navigation("Houses");
|
||||
|
||||
b.Navigation("Registries");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user