32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|