33 lines
787 B
C#
33 lines
787 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace CompanyManagment.EFCore.Migrations
|
|
{
|
|
public partial class AddArchiveCodeToContractingPartes : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "ArchiveCode",
|
|
table: "PersonalContractingParties",
|
|
type: "nvarchar(50)",
|
|
maxLength: 50,
|
|
nullable: true);
|
|
|
|
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ArchiveCode",
|
|
table: "PersonalContractingParties");
|
|
|
|
|
|
}
|
|
}
|
|
}
|