mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-08 19:39:27 +02:00
94 lines
3.1 KiB
C#
94 lines
3.1 KiB
C#
// <auto-generated />
|
|
using DiscordApp.Database;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|
|
|
#nullable disable
|
|
|
|
namespace DiscordApp.Migrations
|
|
{
|
|
[DbContext(typeof(AppDbContext))]
|
|
[Migration("20231026134430_InternalMigration")]
|
|
partial class InternalMigration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "7.0.13")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
|
|
|
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
|
|
|
modelBuilder.Entity("DiscordApp.Database.Tables.Autobranches", b =>
|
|
{
|
|
b.Property<decimal>("ChannelId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("numeric(20,0)");
|
|
|
|
b.Property<string>("BranchName")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.HasKey("ChannelId");
|
|
|
|
b.ToTable("Autobranches", "public");
|
|
});
|
|
|
|
modelBuilder.Entity("DiscordApp.Database.Tables.Autoreactions", b =>
|
|
{
|
|
b.Property<decimal>("ChannelId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("numeric(20,0)");
|
|
|
|
b.Property<string>("EmoteId")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.HasKey("ChannelId");
|
|
|
|
b.ToTable("Autoreactions", "public");
|
|
});
|
|
|
|
modelBuilder.Entity("DiscordApp.Database.Tables.Passport", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("integer");
|
|
|
|
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
|
|
|
|
b.Property<string>("Applicant")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.Property<long>("Date")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<decimal>("Employee")
|
|
.HasColumnType("numeric(20,0)");
|
|
|
|
b.Property<string>("Gender")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("RpName")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.Property<int>("Support")
|
|
.HasColumnType("integer");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Passport", "public");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|