using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace CMSMicroservice.Infrastructure.Persistence.Migrations
{
    /// <inheritdoc />
    public partial class u11 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<long>(
                name: "NetworkBalance",
                schema: "CMS",
                table: "UserWallets",
                type: "bigint",
                nullable: false,
                defaultValue: 0L);

            migrationBuilder.AddColumn<long>(
                name: "ChangeNerworkValue",
                schema: "CMS",
                table: "UserWalletChangeLogs",
                type: "bigint",
                nullable: false,
                defaultValue: 0L);

            migrationBuilder.AddColumn<long>(
                name: "CurrentNetworkBalance",
                schema: "CMS",
                table: "UserWalletChangeLogs",
                type: "bigint",
                nullable: false,
                defaultValue: 0L);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "NetworkBalance",
                schema: "CMS",
                table: "UserWallets");

            migrationBuilder.DropColumn(
                name: "ChangeNerworkValue",
                schema: "CMS",
                table: "UserWalletChangeLogs");

            migrationBuilder.DropColumn(
                name: "CurrentNetworkBalance",
                schema: "CMS",
                table: "UserWalletChangeLogs");
        }
    }
}
