aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
diff options
context:
space:
mode:
authorDanail Dimitrov <danaildimitrov321@gmail.com>2021-03-22 19:21:30 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-27 08:30:59 +0200
commit418552fcb981443f2a89340c01efadc439f3f854 (patch)
tree5580835f27e93dcefb29e124b5e45621846db104 /src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
parent416fd94399bf0b58fc0d201c0294f0869517a743 (diff)
downloadDevHive-418552fcb981443f2a89340c01efadc439f3f854.tar
DevHive-418552fcb981443f2a89340c01efadc439f3f854.tar.gz
DevHive-418552fcb981443f2a89340c01efadc439f3f854.zip
removing parts of old rating system
Diffstat (limited to 'src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs')
-rw-r--r--src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs75
1 files changed, 0 insertions, 75 deletions
diff --git a/src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs b/src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
index 80e3ac0..3b328c6 100644
--- a/src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
+++ b/src/Data/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
@@ -145,45 +145,6 @@ namespace DevHive.Data.Migrations
b.ToTable("PostAttachments");
});
- modelBuilder.Entity("DevHive.Data.Models.Relational.RatedPost", b =>
- {
- b.Property<Guid>("UserId")
- .HasColumnType("uuid");
-
- b.Property<Guid>("PostId")
- .HasColumnType("uuid");
-
- b.HasKey("UserId", "PostId");
-
- b.HasIndex("PostId");
-
- b.ToTable("RatedPosts");
- });
-
- modelBuilder.Entity("DevHive.Data.Models.Relational.UserRate", b =>
- {
- b.Property<Guid>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid");
-
- b.Property<bool>("Liked")
- .HasColumnType("boolean");
-
- b.Property<Guid?>("PostId")
- .HasColumnType("uuid");
-
- b.Property<Guid?>("UserId")
- .HasColumnType("uuid");
-
- b.HasKey("Id");
-
- b.HasIndex("PostId");
-
- b.HasIndex("UserId");
-
- b.ToTable("UserRates");
- });
-
modelBuilder.Entity("DevHive.Data.Models.Role", b =>
{
b.Property<Guid>("Id")
@@ -509,40 +470,6 @@ namespace DevHive.Data.Migrations
b.Navigation("Post");
});
- modelBuilder.Entity("DevHive.Data.Models.Relational.RatedPost", b =>
- {
- b.HasOne("DevHive.Data.Models.Post", "Post")
- .WithMany()
- .HasForeignKey("PostId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.HasOne("DevHive.Data.Models.User", "User")
- .WithMany("RatedPosts")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Post");
-
- b.Navigation("User");
- });
-
- modelBuilder.Entity("DevHive.Data.Models.Relational.UserRate", b =>
- {
- b.HasOne("DevHive.Data.Models.Post", "Post")
- .WithMany()
- .HasForeignKey("PostId");
-
- b.HasOne("DevHive.Data.Models.User", "User")
- .WithMany()
- .HasForeignKey("UserId");
-
- b.Navigation("Post");
-
- b.Navigation("User");
- });
-
modelBuilder.Entity("DevHive.Data.Models.User", b =>
{
b.HasOne("DevHive.Data.Models.User", null)
@@ -664,8 +591,6 @@ namespace DevHive.Data.Migrations
b.Navigation("Posts");
b.Navigation("ProfilePicture");
-
- b.Navigation("RatedPosts");
});
#pragma warning restore 612, 618
}