// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Snootalogue.Data; namespace snootalogue.Migrations { [DbContext(typeof(SnootalogueContext))] [Migration("20200917125618_InitialCreate")] partial class InitialCreate { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "3.1.0"); modelBuilder.Entity("Snootalogue.Models.Document", b => { b.Property("ID") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Authors") .HasColumnType("jsonb"); b.Property("Category") .HasColumnType("TEXT"); b.Property("DateAdded") .HasColumnType("TEXT"); b.Property("Filename") .HasColumnType("TEXT"); b.Property("Hash") .HasColumnType("TEXT"); b.Property("Notes") .HasColumnType("TEXT"); b.Property("Read") .HasColumnType("INTEGER"); b.Property("Size") .HasColumnType("INTEGER"); b.Property("Tags") .HasColumnType("jsonb"); b.Property("Title") .HasColumnType("TEXT"); b.HasKey("ID"); b.ToTable("Document"); }); #pragma warning restore 612, 618 } } }