using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Predictalytics.Infrastructure.Migrations
{
    /// <inheritdoc />
    public partial class AddCopytradingScoreAndTapeFills : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<decimal>(
                name: "CopytradingCopyabilityScore",
                table: "TraderScores",
                type: "decimal(65,30)",
                nullable: false,
                defaultValue: 0m);

            migrationBuilder.AddColumn<decimal>(
                name: "CopytradingQualityScore",
                table: "TraderScores",
                type: "decimal(65,30)",
                nullable: false,
                defaultValue: 0m);

            migrationBuilder.AddColumn<decimal>(
                name: "FollowerFillPrice10s",
                table: "TradeContexts",
                type: "decimal(65,30)",
                nullable: true);

            migrationBuilder.AddColumn<decimal>(
                name: "FollowerFillPrice60s",
                table: "TradeContexts",
                type: "decimal(65,30)",
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CopytradingCopyabilityScore",
                table: "TraderScores");

            migrationBuilder.DropColumn(
                name: "CopytradingQualityScore",
                table: "TraderScores");

            migrationBuilder.DropColumn(
                name: "FollowerFillPrice10s",
                table: "TradeContexts");

            migrationBuilder.DropColumn(
                name: "FollowerFillPrice60s",
                table: "TradeContexts");
        }
    }
}
