Switch startup DB upgrades to EF migrations
This commit is contained in:
@@ -35,7 +35,7 @@ Backend state persistence:
|
||||
- EF Core with SQLite (`Microsoft.EntityFrameworkCore.Sqlite`)
|
||||
- Development DB: `RpgRoller/App_Data/rpgroller.development.db`
|
||||
- Default DB: `RpgRoller/App_Data/rpgroller.db`
|
||||
- Database schema is created automatically on startup (`EnsureCreated`)
|
||||
- Database schema is created/upgraded automatically on startup via EF Core migrations (`Database.Migrate`)
|
||||
- Runtime state is loaded once at startup into memory and written back to SQLite on successful state changes
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Reference in New Issue
Block a user