diff options
Diffstat (limited to 'src/Migrations/DBModelSnapshot.cs')
| -rw-r--r-- | src/Migrations/DBModelSnapshot.cs | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/src/Migrations/DBModelSnapshot.cs b/src/Migrations/DBModelSnapshot.cs new file mode 100644 index 0000000..8c9fb26 --- /dev/null +++ b/src/Migrations/DBModelSnapshot.cs @@ -0,0 +1,111 @@ +// <auto-generated /> +using System; +using BlobBin; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +#nullable disable + +namespace BlobBin.Migrations +{ + [DbContext(typeof(DB))] + partial class DBModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder.HasAnnotation("ProductVersion", "7.0.2"); + + modelBuilder.Entity("BlobBin.File", b => + { + b.Property<Guid>("Id") + .ValueGeneratedOnAdd() + .HasColumnType("TEXT"); + + b.Property<string>("AutoDeleteAfter") + .HasColumnType("TEXT"); + + b.Property<DateTime>("CreatedAt") + .HasColumnType("TEXT"); + + b.Property<string>("CreatedBy") + .IsRequired() + .HasColumnType("TEXT"); + + b.Property<DateTime?>("DeletedAt") + .HasColumnType("TEXT"); + + b.Property<long>("Length") + .HasColumnType("INTEGER"); + + b.Property<string>("MimeType") + .HasColumnType("TEXT"); + + b.Property<string>("Name") + .HasColumnType("TEXT"); + + b.Property<string>("PasswordHash") + .HasColumnType("TEXT"); + + b.Property<string>("PublicId") + .IsRequired() + .HasColumnType("TEXT"); + + b.Property<bool>("Singleton") + .HasColumnType("INTEGER"); + + b.HasKey("Id"); + + b.ToTable("Files"); + }); + + modelBuilder.Entity("BlobBin.Paste", b => + { + b.Property<Guid>("Id") + .ValueGeneratedOnAdd() + .HasColumnType("TEXT"); + + b.Property<string>("AutoDeleteAfter") + .HasColumnType("TEXT"); + + b.Property<string>("Content") + .HasColumnType("TEXT"); + + b.Property<DateTime>("CreatedAt") + .HasColumnType("TEXT"); + + b.Property<string>("CreatedBy") + .IsRequired() + .HasColumnType("TEXT"); + + b.Property<DateTime?>("DeletedAt") + .HasColumnType("TEXT"); + + b.Property<long>("Length") + .HasColumnType("INTEGER"); + + b.Property<string>("MimeType") + .HasColumnType("TEXT"); + + b.Property<string>("Name") + .HasColumnType("TEXT"); + + b.Property<string>("PasswordHash") + .HasColumnType("TEXT"); + + b.Property<string>("PublicId") + .IsRequired() + .HasColumnType("TEXT"); + + b.Property<bool>("Singleton") + .HasColumnType("INTEGER"); + + b.HasKey("Id"); + + b.ToTable("Pastes"); + }); +#pragma warning restore 612, 618 + } + } +} |
