You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.5 KiB
47 lines
1.5 KiB
// <auto-generated />
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|
using QuickCHAT.Models;
|
|
|
|
namespace QuickCHAT.Migrations
|
|
{
|
|
[DbContext(typeof(DatabaseContext))]
|
|
partial class DatabaseContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn)
|
|
.HasAnnotation("ProductVersion", "2.2.1-servicing-10028")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
|
|
|
modelBuilder.Entity("QuickCHAT.Models.User", b =>
|
|
{
|
|
b.Property<int>("UserID")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<string>("Description");
|
|
|
|
b.Property<string>("First");
|
|
|
|
b.Property<string>("Last");
|
|
|
|
b.Property<string>("Password");
|
|
|
|
b.Property<string>("Username")
|
|
.IsRequired();
|
|
|
|
b.HasKey("UserID");
|
|
|
|
b.HasAlternateKey("Username")
|
|
.HasName("AK_Username");
|
|
|
|
b.ToTable("Users");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|
|
|