Files
Moonlight/Moonlight/App/Database/Migrations/20230314190100_AddedAllocationsToImage.cs
2023-03-14 22:37:41 +01:00

30 lines
775 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Moonlight.App.Database.Migrations
{
/// <inheritdoc />
public partial class AddedAllocationsToImage : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Allocations",
table: "Images",
type: "int",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Allocations",
table: "Images");
}
}
}