Files
parr_api/PARR.DAL/Migrations/20250417063402_tblWorksClmnTemplateNameMaskIsNotNull.cs

37 lines
1.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PARR.DAL.Migrations
{
/// <inheritdoc />
public partial class tblWorksClmnTemplateNameMaskIsNotNull : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "TemplateNameMask",
table: "Works",
type: "text",
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "text",
oldNullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "TemplateNameMask",
table: "Works",
type: "text",
nullable: true,
oldClrType: typeof(string),
oldType: "text");
}
}
}