So this should work, right?
enum SchemaV1 { /* includes Table */}
typealias CurrentSchema = SchemaV1
typealias Table = CurrentSchema.Table
…I had weird compiler errors with it last night, but I musta screwed it up because it's working great (so far) today.
The point is being able to update CurrentSchema to SchemaV2, etc. in the future and save fixing Table = SchemaV1.Table for all tables. #Swift #SwiftData