summaryrefslogtreecommitdiff
path: root/Migrations/HBContextModelSnapshot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Migrations/HBContextModelSnapshot.cs')
-rw-r--r--Migrations/HBContextModelSnapshot.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Migrations/HBContextModelSnapshot.cs b/Migrations/HBContextModelSnapshot.cs
index f0e4b1f..e00f2d8 100644
--- a/Migrations/HBContextModelSnapshot.cs
+++ b/Migrations/HBContextModelSnapshot.cs
@@ -122,13 +122,13 @@ namespace HyperBooru.Migrations
b.Property<DateTime>("CreateTime")
.HasColumnType("timestamp with time zone");
- b.Property<int>("TagDefinitionObjectId")
+ b.Property<int>("TagDefinitionId")
.HasColumnType("integer");
b.Property<int>("TargetObjectId")
.HasColumnType("integer");
- b.HasIndex("TagDefinitionObjectId");
+ b.HasIndex("TagDefinitionId");
b.HasIndex("TargetObjectId");
@@ -216,7 +216,7 @@ namespace HyperBooru.Migrations
b.HasOne("HyperBooru.TagDefinition", "TagDefinition")
.WithMany()
- .HasForeignKey("TagDefinitionObjectId")
+ .HasForeignKey("TagDefinitionId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();