diff --git a/Weiferl.Databas.EF/Migrations/20230709082413_added_users_countries.Designer.cs b/Weiferl.Databas.EF/Migrations/20230709095004_init.Designer.cs similarity index 93% rename from Weiferl.Databas.EF/Migrations/20230709082413_added_users_countries.Designer.cs rename to Weiferl.Databas.EF/Migrations/20230709095004_init.Designer.cs index c4d1cc1..8b24f88 100644 --- a/Weiferl.Databas.EF/Migrations/20230709082413_added_users_countries.Designer.cs +++ b/Weiferl.Databas.EF/Migrations/20230709095004_init.Designer.cs @@ -11,8 +11,8 @@ using Weiferl.Databas.EF; namespace Weiferl.Databas.EF.Migrations { [DbContext(typeof(WeiferlDb))] - [Migration("20230709082413_added_users_countries")] - partial class added_users_countries + [Migration("20230709095004_init")] + partial class init { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) @@ -69,6 +69,9 @@ namespace Weiferl.Databas.EF.Migrations .IsRequired() .HasColumnType("longtext"); + b.Property("RegisterDate") + .HasColumnType("datetime(6)"); + b.Property("UserId") .HasColumnType("char(36)"); diff --git a/Weiferl.Databas.EF/Migrations/20230709082413_added_users_countries.cs b/Weiferl.Databas.EF/Migrations/20230709095004_init.cs similarity index 93% rename from Weiferl.Databas.EF/Migrations/20230709082413_added_users_countries.cs rename to Weiferl.Databas.EF/Migrations/20230709095004_init.cs index 5ec775e..798226b 100644 --- a/Weiferl.Databas.EF/Migrations/20230709082413_added_users_countries.cs +++ b/Weiferl.Databas.EF/Migrations/20230709095004_init.cs @@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Migrations; namespace Weiferl.Databas.EF.Migrations { /// - public partial class added_users_countries : Migration + public partial class init : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) @@ -48,7 +48,8 @@ namespace Weiferl.Databas.EF.Migrations Birthday = table.Column(type: "datetime(6)", nullable: true), IsDeleted = table.Column(type: "tinyint(1)", nullable: false), CountrySlug = table.Column(type: "longtext", nullable: false) - .Annotation("MySql:CharSet", "utf8mb4") + .Annotation("MySql:CharSet", "utf8mb4"), + RegisterDate = table.Column(type: "datetime(6)", nullable: true) }, constraints: table => { diff --git a/Weiferl.Databas.EF/Migrations/WeiferlDbModelSnapshot.cs b/Weiferl.Databas.EF/Migrations/WeiferlDbModelSnapshot.cs index 88a7daa..d1a6dc5 100644 --- a/Weiferl.Databas.EF/Migrations/WeiferlDbModelSnapshot.cs +++ b/Weiferl.Databas.EF/Migrations/WeiferlDbModelSnapshot.cs @@ -66,6 +66,9 @@ namespace Weiferl.Databas.EF.Migrations .IsRequired() .HasColumnType("longtext"); + b.Property("RegisterDate") + .HasColumnType("datetime(6)"); + b.Property("UserId") .HasColumnType("char(36)"); diff --git a/Weiferl.Databas.EF/Weiferl.Databas.EF.csproj b/Weiferl.Databas.EF/Weiferl.Databas.EF.csproj index 4583333..fca42c8 100644 --- a/Weiferl.Databas.EF/Weiferl.Databas.EF.csproj +++ b/Weiferl.Databas.EF/Weiferl.Databas.EF.csproj @@ -6,7 +6,7 @@ enable True Weiferl Database Ef - 1.0.2 + 1.0.3