123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- // <auto-generated />
- 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
- {
- /// <inheritdoc />
- 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<int>("Key")
- .ValueGeneratedOnAdd()
- .HasColumnType("INTEGER");
- b.Property<short>("Channel")
- .HasColumnType("INTEGER");
- b.Property<string>("Content")
- .IsRequired()
- .HasColumnType("TEXT");
- b.Property<string>("Name")
- .IsRequired()
- .HasColumnType("TEXT");
- b.Property<bool>("Reply")
- .HasColumnType("INTEGER");
- b.HasKey("Key");
- b.ToTable("Message");
- });
- modelBuilder.Entity("Waaagh.Models.Scenario", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("INTEGER");
- b.Property<string>("Description")
- .IsRequired()
- .HasColumnType("TEXT");
- b.Property<bool>("IsLegacy")
- .HasColumnType("INTEGER");
- b.Property<DateTime>("LastUpdateTime")
- .HasColumnType("TEXT");
- b.Property<string>("Name")
- .IsRequired()
- .HasColumnType("TEXT");
- b.Property<int>("Version")
- .HasColumnType("INTEGER");
- b.HasKey("Id");
- b.ToTable("Scenarios");
- });
- #pragma warning restore 612, 618
- }
- }
- }
|