🐛 Fix bugs
This commit is contained in:
1826
DysonNetwork.Pass/Migrations/20250731071524_AddCheckInBackdated.Designer.cs
generated
Normal file
1826
DysonNetwork.Pass/Migrations/20250731071524_AddCheckInBackdated.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using NodaTime;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace DysonNetwork.Pass.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddCheckInBackdated : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Instant>(
|
||||
name: "backdated_from",
|
||||
table: "account_check_in_results",
|
||||
type: "timestamp with time zone",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "backdated_from",
|
||||
table: "account_check_in_results");
|
||||
}
|
||||
}
|
||||
}
|
@@ -546,6 +546,10 @@ namespace DysonNetwork.Pass.Migrations
|
||||
.HasColumnType("uuid")
|
||||
.HasColumnName("account_id");
|
||||
|
||||
b.Property<Instant?>("BackdatedFrom")
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasColumnName("backdated_from");
|
||||
|
||||
b.Property<Instant>("CreatedAt")
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasColumnName("created_at");
|
||||
|
Reference in New Issue
Block a user