Files
Backend-Api/CompanyManagment.EFCore/Migrations/20230627154529_EditedLeftWorkIncurance.cs
2024-07-05 21:36:15 +03:30

40 lines
1.1 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace CompanyManagment.EFCore.Migrations
{
public partial class EditedLeftWorkIncurance : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IncludeStatus",
table: "LeftWorkInsurances",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<long>(
name: "JobId",
table: "LeftWorkInsurances",
type: "bigint",
nullable: false,
defaultValue: 0L);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IncludeStatus",
table: "LeftWorkInsurances");
migrationBuilder.DropColumn(
name: "JobId",
table: "LeftWorkInsurances");
}
}
}