using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace SystemRevivalServer.Migrations
{
///
public partial class ColumnFight : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "HazardTintColor",
table: "dungeon_mob_abilities",
type: "varchar(16)",
maxLength: 16,
nullable: false,
defaultValue: "#ff5500");
migrationBuilder.AddColumn(
name: "HazardTintOpacity",
table: "dungeon_mob_abilities",
type: "float",
nullable: false,
defaultValue: 0.45f);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "HazardTintColor",
table: "dungeon_mob_abilities");
migrationBuilder.DropColumn(
name: "HazardTintOpacity",
table: "dungeon_mob_abilities");
}
}
}