// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Telegram.Bot.SpaceApi.Backend.Database; #nullable disable namespace Telegram.Bot.SpaceApi.Migrations { [DbContext(typeof(DatabaseContext))] [Migration("20230408003033_BAFEF0C6-23AD-4DA8-A055-AB37FDA7E760")] partial class BAFEF0C623AD4DA8A055AB37FDA7E760 { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "7.0.4"); modelBuilder.Entity("Telegram.Bot.SpaceApi.Backend.Database.Tables.Bot", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("ApiOverrideAddress") .HasColumnType("TEXT") .HasColumnName("ApiOverrideAddress"); b.Property("ApiUrl") .IsRequired() .HasColumnType("TEXT") .HasColumnName("ApiUrl"); b.Property("Name") .IsRequired() .HasColumnType("TEXT") .HasColumnName("Name"); b.Property("Token") .IsRequired() .HasColumnType("TEXT") .HasColumnName("Token"); b.HasKey("Id"); b.ToTable("Bots", (string)null); }); modelBuilder.Entity("Telegram.Bot.SpaceApi.Backend.Database.Tables.Config", b => { b.Property("Key") .HasColumnType("TEXT") .HasColumnName("Key"); b.Property("Value") .IsRequired() .HasColumnType("TEXT") .HasColumnName("Value"); b.HasKey("Key"); b.ToTable("Config", (string)null); }); #pragma warning restore 612, 618 } } }