You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.4 KiB
49 lines
1.4 KiB
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace TaskManager.EntityFramework.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class z2025061000024 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "PageSize",
|
|
table: "TaskConifgure",
|
|
type: "int",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "Id",
|
|
table: "SUPPLIER_PRO_PLANING",
|
|
type: "nvarchar(50)",
|
|
maxLength: 50,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "nvarchar(450)",
|
|
oldNullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "PageSize",
|
|
table: "TaskConifgure");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "Id",
|
|
table: "SUPPLIER_PRO_PLANING",
|
|
type: "nvarchar(450)",
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "nvarchar(50)",
|
|
oldMaxLength: 50,
|
|
oldNullable: true);
|
|
}
|
|
}
|
|
}
|
|
|