using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace GerbilManagerWebAPI.Migrations
{
///
public partial class AddEnclosureCleaning : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Capacity",
table: "Enclosures",
type: "integer",
nullable: true);
migrationBuilder.AddColumn(
name: "CleaningCycleDays",
table: "Enclosures",
type: "integer",
nullable: true);
migrationBuilder.AddColumn(
name: "LastCleanedDate",
table: "Enclosures",
type: "date",
nullable: true);
migrationBuilder.AddColumn(
name: "Size",
table: "Enclosures",
type: "text",
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Capacity",
table: "Enclosures");
migrationBuilder.DropColumn(
name: "CleaningCycleDays",
table: "Enclosures");
migrationBuilder.DropColumn(
name: "LastCleanedDate",
table: "Enclosures");
migrationBuilder.DropColumn(
name: "Size",
table: "Enclosures");
}
}
}