add minimal workout interface, not linked with exercises yet

This commit is contained in:
Felix Förtsch
2024-08-16 16:52:52 +02:00
parent e33f9e80bc
commit 97d4038fb6
7 changed files with 205 additions and 16 deletions

View File

@@ -13,6 +13,7 @@ struct WorkoutsPlusApp: App {
var sharedModelContainer: ModelContainer = {
let schema = Schema([
Exercise.self,
Workout.self
])
let modelConfiguration = ModelConfiguration(schema: schema, isStoredInMemoryOnly: false)