2023-07-09 11:15:39 +02:00
|
|
|
|
// <auto-generated />
|
|
|
|
|
using System;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
|
using Weiferl.Databas.EF;
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
namespace Weiferl.Databas.EF.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(WeiferlDb))]
|
|
|
|
|
partial class WeiferlDbModelSnapshot : ModelSnapshot
|
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder
|
|
|
|
|
.HasAnnotation("ProductVersion", "7.0.8")
|
|
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Weiferl.Databas.EF.Models.Countrie", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Slug")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Countries");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Weiferl.Databas.EF.Models.User", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("Birthday")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CountrySlug")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Email")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Firstname")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Lastname")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
2023-07-09 11:51:47 +02:00
|
|
|
|
b.Property<DateTime?>("RegisterDate")
|
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
2023-07-09 11:15:39 +02:00
|
|
|
|
b.Property<Guid>("UserId")
|
|
|
|
|
.HasColumnType("char(36)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Users");
|
|
|
|
|
});
|
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|