31 lines
939 B
C#
31 lines
939 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace MP.Data.Migrations.MoonPro_Utils
|
|
{
|
|
public partial class AddMtcSetupModel : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateTable(
|
|
name: "mtc_setup",
|
|
columns: table => new
|
|
{
|
|
IdxMacchina = table.Column<string>(type: "nvarchar(450)", nullable: false),
|
|
MtcDataItemsRaw = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
|
},
|
|
constraints: table =>
|
|
{
|
|
table.PrimaryKey("PK_mtc_setup", x => x.IdxMacchina);
|
|
});
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropTable(
|
|
name: "mtc_setup");
|
|
}
|
|
}
|
|
}
|