mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 04:19:31 +02:00
add notary module, utilities and server online in bot`s game
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using DiscordApp.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
@@ -156,6 +157,42 @@ namespace DiscordApp.Migrations
|
||||
b.ToTable("BooksPatent", "public");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DiscordApp.Database.Tables.Certificate", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("integer");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateOnly>("Date")
|
||||
.HasColumnType("date");
|
||||
|
||||
b.Property<int>("DocumentId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("DocumentType")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Employee")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<int>("passportId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("passportId");
|
||||
|
||||
b.ToTable("Certificate", "public");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DiscordApp.Database.Tables.Passport", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
@@ -245,6 +282,17 @@ namespace DiscordApp.Migrations
|
||||
|
||||
b.Navigation("passport");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DiscordApp.Database.Tables.Certificate", b =>
|
||||
{
|
||||
b.HasOne("DiscordApp.Database.Tables.Passport", "passport")
|
||||
.WithMany()
|
||||
.HasForeignKey("passportId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("passport");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user