using Microsoft.EntityFrameworkCore.Migrations;

namespace UnivateProperties_API.Migrations
{
    public partial class AddedWeekProps : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<double>(
                name: "AgentCommision",
                table: "Weeks",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<string>(
                name: "Mandate",
                table: "Weeks",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "OtherResortName",
                table: "Weeks",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "AgentCommision",
                table: "Weeks");

            migrationBuilder.DropColumn(
                name: "Mandate",
                table: "Weeks");

            migrationBuilder.DropColumn(
                name: "OtherResortName",
                table: "Weeks");
        }
    }
}