using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;

namespace ClaudeDo.Data;

public sealed class ClaudeDoDbContextFactory : IDesignTimeDbContextFactory<ClaudeDoDbContext>
{
    public ClaudeDoDbContext CreateDbContext(string[] args)
    {
        var options = new DbContextOptionsBuilder<ClaudeDoDbContext>()
            .UseSqlite("Data Source=design-time.db")
            .Options;
        return new ClaudeDoDbContext(options);
    }
}
