using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace ClaudeDo.Data.Migrations
{
    /// <inheritdoc />
    public partial class DropFileScopeSerialization : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "scope_globs",
                table: "tasks");

            migrationBuilder.DropColumn(
                name: "serialize_on_file_overlap",
                table: "list_config");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "scope_globs",
                table: "tasks",
                type: "TEXT",
                nullable: true);

            migrationBuilder.AddColumn<bool>(
                name: "serialize_on_file_overlap",
                table: "list_config",
                type: "INTEGER",
                nullable: false,
                defaultValue: false);
        }
    }
}
