This commit is contained in:
2025-12-04 04:20:59 +08:00
parent 4e2bb49e86
commit 85f0cb613a
16 changed files with 243 additions and 210 deletions

View File

@@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Atomx.Data.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20251203175828_0.1")]
[Migration("20251203190956_0.1")]
partial class _01
{
/// <inheritdoc />
@@ -1135,7 +1135,7 @@ namespace Atomx.Data.Migrations
b.Property<DateTime>("IssuedTime")
.HasColumnType("timestamp with time zone");
b.Property<DateTime>("RevokedTime")
b.Property<DateTime?>("RevokedTime")
.HasColumnType("timestamptz");
b.Property<string>("Token")

View File

@@ -527,7 +527,7 @@ namespace Atomx.Data.Migrations
IssuedTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
ExpiresTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
IsRevoked = table.Column<bool>(type: "boolean", nullable: false),
RevokedTime = table.Column<DateTime>(type: "timestamptz", nullable: false),
RevokedTime = table.Column<DateTime>(type: "timestamptz", nullable: true),
Ip = table.Column<string>(type: "varchar(50)", nullable: false),
UserAgent = table.Column<string>(type: "varchar(500)", nullable: false)
},

View File

@@ -1132,7 +1132,7 @@ namespace Atomx.Data.Migrations
b.Property<DateTime>("IssuedTime")
.HasColumnType("timestamp with time zone");
b.Property<DateTime>("RevokedTime")
b.Property<DateTime?>("RevokedTime")
.HasColumnType("timestamptz");
b.Property<string>("Token")