Resolve "ASCII export and import for Git" #83

Merged
thorsten merged 30 commits from 48-ascii-export-and-import-for-git into main 2023-02-12 12:55:07 +00:00
Showing only changes of commit 574d1ef8bf - Show all commits

View File

@ -54,6 +54,9 @@ public static class Setup
await using var serviceProvider = serviceCollection.BuildServiceProvider();
var dbContext = serviceProvider.GetRequiredService<DataContext>();
// Migrate the database to create the tables etc.:
await Setup.PerformDataMigration(dbContext);
// Next, we import the data from the provided JSON file:
await dbContext.ImportAsync(path2JSONFile);