29 lines
862 B
C#
29 lines
862 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations
|
|
{
|
|
public partial class initial : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateTable(
|
|
name: "Creditors",
|
|
columns: table => new
|
|
{
|
|
Id = table.Column<int>(nullable: false)
|
|
.Annotation("SqlServer:Identity", "1, 1")
|
|
},
|
|
constraints: table =>
|
|
{
|
|
table.PrimaryKey("PK_Creditors", x => x.Id);
|
|
});
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropTable(
|
|
name: "Creditors");
|
|
}
|
|
}
|
|
}
|