The sql db, is generated using this other tool I wrote
titledbConverter you can use that to generate your own db, based on whatever region you prefer as default or even aggregate the titles with custom data. but a simple
Code:
titledbConverter freshdb "c:\sqltitledb"
will be enough to download titledb and create the sql version of it
hello
titledbConverter freshdb "c:\sqltitledb"
download files and create json, but not create db
any idea?
Updating 17075 titles from RU-ru region
Titles Count: 57380
Base Titles: 23147
DLC Titles: 21585
Update Titles: 12648
Save to: c:\sqltitledb\titles.json
Applying pending migrations...
InvalidOperationException: An error was generated for warning
'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'SqliteDbContext' has
pending changes. Add a new migration before updating the database. See
https://aka.ms/efcore-docs-pending-changes. This
exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the
'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
at void Log<TLoggerCategory>(IDiagnosticsLogger<TLoggerCategory> logger, TParam arg)
at void PendingModelChangesWarning(IDiagnosticsLogger<Migrations> diagnostics, Type contextType)
at void ValidateMigrations(bool useTransaction, string targetMigration)
at async Task MigrateAsync(string targetMigration, CancellationToken cancellationToken)
at async Task InitializeAsync(bool dropDatabase)
at async Task<int> ExecuteAsync(CommandContext context, Settings settings)
at async Task<int> Execute(CommandTree leaf, CommandTree tree, CommandContext context, ITypeResolver resolver,
IConfiguration configuration) in CommandExecutor.cs:252