diff --git a/src/GroundsForSupport.Server/Migrations/ContextModelSnapshot.cs b/src/GroundsForSupport.Server/Migrations/ContextModelSnapshot.cs new file mode 100644 index 0000000..2769218 --- /dev/null +++ b/src/GroundsForSupport.Server/Migrations/ContextModelSnapshot.cs @@ -0,0 +1,44 @@ +// +using GroundsForSupport.Server.Data; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +#nullable disable + +namespace GroundsForSupport.Server.Migrations +{ + [DbContext(typeof(Context))] + partial class ContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder.HasAnnotation("ProductVersion", "10.0.1"); + + modelBuilder.Entity("GroundsForSupport.Server.Payments.Payment", b => + { + b.Property("Id") + .HasColumnType("TEXT"); + + b.Property("Amount") + .HasColumnType("INTEGER"); + + b.Property("CreatedAtUnix") + .HasColumnType("INTEGER"); + + b.Property("Message") + .HasColumnType("TEXT"); + + b.Property("Name") + .IsRequired() + .HasColumnType("TEXT"); + + b.HasKey("Id"); + + b.ToTable("Payments"); + }); +#pragma warning restore 612, 618 + } + } +}