mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
15 lines
710 B
C#
15 lines
710 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace Marechai.Database.Migrations
|
|
{
|
|
public partial class FixMagazineIssueRequiredFields : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.AlterColumn<short>("Pages", "MagazineIssues", nullable: true, oldClrType: typeof(short),
|
|
oldType: "smallint");
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.AlterColumn<short>("Pages", "MagazineIssues", "smallint", nullable: false,
|
|
oldClrType: typeof(short), oldNullable: true);
|
|
}
|
|
} |