// 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("20230408003408_3B808698-D6D7-4048-AE41-30C829D7C688")] partial class _3B808698D6D74048AE4130C829D7C688 { /// 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("Chat") .IsRequired() .HasColumnType("TEXT") .HasColumnName("Chat"); 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 } } }