summaryrefslogtreecommitdiff
path: root/Migrations/ApplicationDbContextModelSnapshot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Migrations/ApplicationDbContextModelSnapshot.cs')
-rw-r--r--Migrations/ApplicationDbContextModelSnapshot.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Migrations/ApplicationDbContextModelSnapshot.cs b/Migrations/ApplicationDbContextModelSnapshot.cs
index 917cafd..37dac6d 100644
--- a/Migrations/ApplicationDbContextModelSnapshot.cs
+++ b/Migrations/ApplicationDbContextModelSnapshot.cs
@@ -146,6 +146,9 @@ namespace BackendPIA.Migrations
.IsConcurrencyToken()
.HasColumnType("text");
+ b.Property<string>("CurrentToken")
+ .HasColumnType("text");
+
b.Property<string>("Email")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
@@ -340,7 +343,7 @@ namespace BackendPIA.Migrations
modelBuilder.Entity("BackendPIA.Models.Prize", b =>
{
b.HasOne("BackendPIA.Models.Raffle", "Raffle")
- .WithMany()
+ .WithMany("Prizes")
.HasForeignKey("RaffleId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
@@ -447,6 +450,8 @@ namespace BackendPIA.Migrations
modelBuilder.Entity("BackendPIA.Models.Raffle", b =>
{
+ b.Navigation("Prizes");
+
b.Navigation("Tickets");
});