summaryrefslogtreecommitdiff
path: root/Migrations/ApplicationDbContextModelSnapshot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Migrations/ApplicationDbContextModelSnapshot.cs')
-rw-r--r--Migrations/ApplicationDbContextModelSnapshot.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Migrations/ApplicationDbContextModelSnapshot.cs b/Migrations/ApplicationDbContextModelSnapshot.cs
index 11e74de..3b31010 100644
--- a/Migrations/ApplicationDbContextModelSnapshot.cs
+++ b/Migrations/ApplicationDbContextModelSnapshot.cs
@@ -22,6 +22,30 @@ namespace BackendPIA.Migrations
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
+ modelBuilder.Entity("BackendPIA.Models.Raffle", b =>
+ {
+ b.Property<long>("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
+
+ b.Property<bool>("IsClosed")
+ .HasColumnType("boolean");
+
+ b.Property<string>("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("character varying(128)");
+
+ b.Property<int>("Winners")
+ .HasColumnType("integer");
+
+ b.HasKey("Id");
+
+ b.ToTable("Raffles");
+ });
+
modelBuilder.Entity("BackendPIA.Models.UserAccount", b =>
{
b.Property<string>("Id")