mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 08:23:12 +00:00
41 lines
1.4 KiB
C#
41 lines
1.4 KiB
C#
using Data.SeaHavenIndustries;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Data.SeaHavenIndustries.Migrations
|
|
{
|
|
[DbContext(typeof(ApplicationDbContext))]
|
|
[Migration("20260910143000_WorkOrderCompletionSnapshot")]
|
|
public partial class WorkOrderCompletionSnapshot : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "FrozenCompany",
|
|
table: "workOrders",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "FrozenPoc",
|
|
table: "workOrders",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "FrozenSite",
|
|
table: "workOrders",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(name: "FrozenCompany", table: "workOrders");
|
|
migrationBuilder.DropColumn(name: "FrozenPoc", table: "workOrders");
|
|
migrationBuilder.DropColumn(name: "FrozenSite", table: "workOrders");
|
|
}
|
|
}
|
|
}
|