using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ManagerService.Migrations
{
///
public partial class ReplaceWeightWithGridSpans : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "WeightMasonryGrid",
table: "AppConfigurationLinks");
migrationBuilder.AddColumn(
name: "GridColSpan",
table: "AppConfigurationLinks",
type: "integer",
nullable: true);
migrationBuilder.AddColumn(
name: "GridRowSpan",
table: "AppConfigurationLinks",
type: "integer",
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "GridColSpan",
table: "AppConfigurationLinks");
migrationBuilder.DropColumn(
name: "GridRowSpan",
table: "AppConfigurationLinks");
migrationBuilder.AddColumn(
name: "WeightMasonryGrid",
table: "AppConfigurationLinks",
type: "double precision",
nullable: true);
}
}
}