fix chore
This commit is contained in:
@@ -135,6 +135,9 @@ namespace Atomx.Data.Migrations
|
||||
b.Property<DateTime?>("LastLogin")
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.Property<DateTime?>("LockoutEndTime")
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.Property<int>("LoginCount")
|
||||
.HasColumnType("integer");
|
||||
|
||||
@@ -1111,6 +1114,43 @@ namespace Atomx.Data.Migrations
|
||||
b.ToTable("ProductInventoryLogs");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Atomx.Common.Entities.RefreshToken", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime>("ExpiresTime")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("Ip")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(50)");
|
||||
|
||||
b.Property<bool>("IsRevoked")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<DateTime>("IssuedTime")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<DateTime>("RevokedTime")
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.Property<string>("Token")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(500)");
|
||||
|
||||
b.Property<string>("UserAgent")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(500)");
|
||||
|
||||
b.Property<long>("UserId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("RefreshTokens");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Atomx.Common.Entities.Role", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
@@ -1344,11 +1384,23 @@ namespace Atomx.Data.Migrations
|
||||
|
||||
b.Property<string>("Email")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(64)");
|
||||
.HasColumnType("varchar(128)");
|
||||
|
||||
b.Property<bool>("EmailConfirmed")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<int>("FailedLoginAttempts")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<DateTime?>("LockoutEndTime")
|
||||
.HasColumnType("timestamptz");
|
||||
|
||||
b.Property<string>("Mobile")
|
||||
.IsRequired()
|
||||
.HasColumnType("varchar(64)");
|
||||
.HasColumnType("varchar(32)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
|
||||
Reference in New Issue
Block a user