// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Waaagh; #nullable disable namespace Waaagh.Migrations { [DbContext(typeof(AppDatabaseContext))] [Migration("20241117103737_InitialCreate")] partial class InitialCreate { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "9.0.0"); modelBuilder.Entity("Waaagh.Models.Message", b => { b.Property("Key") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Channel") .HasColumnType("INTEGER"); b.Property("Content") .IsRequired() .HasColumnType("TEXT"); b.Property("Name") .IsRequired() .HasColumnType("TEXT"); b.Property("Reply") .HasColumnType("INTEGER"); b.HasKey("Key"); b.ToTable("Message"); }); modelBuilder.Entity("Waaagh.Models.Scenario", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Description") .IsRequired() .HasColumnType("TEXT"); b.Property("IsLegacy") .HasColumnType("INTEGER"); b.Property("LastUpdateTime") .HasColumnType("TEXT"); b.Property("Name") .IsRequired() .HasColumnType("TEXT"); b.Property("Version") .HasColumnType("INTEGER"); b.HasKey("Id"); b.ToTable("Scenarios"); }); #pragma warning restore 612, 618 } } }