First Initial
This commit is contained in:
38
Migrations/25630118005751_sylinder.cs
Normal file
38
Migrations/25630118005751_sylinder.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user