using System; using Microsoft.EntityFrameworkCore.Migrations; namespace tb320eva.Migrations { public partial class AddEvaPermission : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "eva_setup_permission", columns: table => new { id = table.Column(nullable: false), created = table.Column(nullable: false), updated = table.Column(nullable: false), isActive = table.Column(nullable: false), employee_id = table.Column(nullable: true), remark = table.Column(maxLength: 4000, nullable: true) }, constraints: table => { table.PrimaryKey("PK_eva_setup_permission", x => x.id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "eva_setup_permission"); } } }