46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace wtmProject.DataAccess.Migrations
|
|
{
|
|
public partial class hmr2024040102 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "EnterprisesType",
|
|
table: "WTM_CUSTOM",
|
|
type: "int",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "IndustryType",
|
|
table: "WTM_CUSTOM",
|
|
type: "int",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "IndustryType",
|
|
table: "WTM_BUSINESS",
|
|
type: "int",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "EnterprisesType",
|
|
table: "WTM_CUSTOM");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "IndustryType",
|
|
table: "WTM_CUSTOM");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "IndustryType",
|
|
table: "WTM_BUSINESS");
|
|
}
|
|
}
|
|
}
|