refactor(data): centralize list seeding in MigrateAndConfigure, add default-value test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,6 @@ using Avalonia;
|
||||
using ClaudeDo.Data;
|
||||
using ClaudeDo.Data.Git;
|
||||
using ClaudeDo.Data.Repositories;
|
||||
using ClaudeDo.Data.Seeding;
|
||||
using ClaudeDo.Ui;
|
||||
using ClaudeDo.Ui.Services;
|
||||
using ClaudeDo.Ui.ViewModels;
|
||||
@@ -31,7 +30,6 @@ sealed class Program
|
||||
{
|
||||
var db = scope.ServiceProvider.GetRequiredService<ClaudeDoDbContext>();
|
||||
ClaudeDoDbContext.MigrateAndConfigure(db);
|
||||
DefaultListsSeeder.SeedAsync(db).GetAwaiter().GetResult();
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user