COA.EnterpriseServices/COA.EnterpriseServices.DataAccess.EntityFramework/Migrations/20201014122738_settlement-attempt.cs

32 lines
1.0 KiB
C#
Raw Normal View History

2020-10-14 12:35:14 +00:00
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations
{
public partial class settlementattempt : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "SettlementAttempts",
columns: table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
Created = table.Column<DateTime>(nullable: false),
Modified = table.Column<DateTime>(nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_SettlementAttempts", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "SettlementAttempts");
}
}
}