44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace PARR.DAL.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class tbkJobsNotMappedDateModified : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "DateModified",
|
|
schema: "job",
|
|
table: "UnitFilters");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "DateModified",
|
|
schema: "job",
|
|
table: "FieldFilters");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<DateTimeOffset>(
|
|
name: "DateModified",
|
|
schema: "job",
|
|
table: "UnitFilters",
|
|
type: "timestamp with time zone",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<DateTimeOffset>(
|
|
name: "DateModified",
|
|
schema: "job",
|
|
table: "FieldFilters",
|
|
type: "timestamp with time zone",
|
|
nullable: true);
|
|
}
|
|
}
|
|
}
|