btcpayserver/BTCPayServer.Data/Migrations/20201002145033_AddCreateDateToUser.cs
2024-04-15 19:08:25 +09:00

28 lines
803 B
C#

using System;
using BTCPayServer.Data;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
namespace BTCPayServer.Migrations
{
[DbContext(typeof(ApplicationDbContext))]
[Migration("20201002145033_AddCreateDateToUser")]
public partial class AddCreateDateToUser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTimeOffset>(
name: "Created",
table: "AspNetUsers",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Created",
table: "AspNetUsers");
}
}
}