38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace EveryThing.Migrations
|
|
{
|
|
public partial class _4 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "LoadingOrderLoadUnload",
|
|
table: "CodeTablePartners",
|
|
type: "tinyint(1)",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "Transporter",
|
|
table: "CodeTablePartners",
|
|
type: "tinyint(1)",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "LoadingOrderLoadUnload",
|
|
table: "CodeTablePartners");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "Transporter",
|
|
table: "CodeTablePartners");
|
|
}
|
|
}
|
|
}
|