Files
hrm_eva/Migrations/25630118005751_sylinder.cs
Nakorn Rientrakrunchai 8b98125e49 First Initial
2020-02-20 15:02:39 +07:00

39 lines
1.5 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class sylinder : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "eva_salary_cylinder",
columns: table => new
{
id = table.Column<int>(nullable: false),
created = table.Column<DateTime>(nullable: false),
updated = table.Column<DateTime>(nullable: false),
isActive = table.Column<bool>(nullable: false),
position_type = table.Column<int>(nullable: true),
position_level = table.Column<int>(nullable: true),
temporary_min = table.Column<decimal>(nullable: true),
themin = table.Column<decimal>(nullable: true),
themax = table.Column<decimal>(nullable: true),
middle = table.Column<decimal>(nullable: true),
cost_living = table.Column<decimal>(nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_eva_salary_cylinder", x => x.id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "eva_salary_cylinder");
}
}
}