//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Weiferl.Databas.EF;
#nullable disable
namespace Weiferl.Databas.EF.Migrations
{
[DbContext(typeof(WeiferlDb))]
[Migration("20230709095004_init")]
partial class init
{
///
protected override void BuildTargetModel(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("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property("Name")
.IsRequired()
.HasColumnType("longtext");
b.Property("Slug")
.IsRequired()
.HasColumnType("longtext");
b.HasKey("Id");
b.ToTable("Countries");
});
modelBuilder.Entity("Weiferl.Databas.EF.Models.User", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property("Birthday")
.HasColumnType("datetime(6)");
b.Property("CountrySlug")
.IsRequired()
.HasColumnType("longtext");
b.Property("Email")
.IsRequired()
.HasColumnType("longtext");
b.Property("Firstname")
.IsRequired()
.HasColumnType("longtext");
b.Property("IsDeleted")
.HasColumnType("tinyint(1)");
b.Property("Lastname")
.IsRequired()
.HasColumnType("longtext");
b.Property("RegisterDate")
.HasColumnType("datetime(6)");
b.Property("UserId")
.HasColumnType("char(36)");
b.HasKey("Id");
b.ToTable("Users");
});
#pragma warning restore 612, 618
}
}
}