I have a one class and another one inside as a property. I don't want to create a new table for another simple class, make relationships etc for simple models. I tried that way:
final class Person: PostgreSQLUUIDModel {
var id: UUID?
var mails: [Mail]?
}
final class Mail: PostgreSQLJSONType {
var name: String?
var address: String?
}
But when I try to create object with that model I receive such error:
[ DEBUG ] Possible causes for PostgreSQLDiagnosticResponse.jsonb_recv: unsupported jsonb version number 123 (Logger+LogError.swift:23)
I have a one class and another one inside as a property. I don't want to create a new table for another simple class, make relationships etc for simple models. I tried that way:
But when I try to create object with that model I receive such error:
My PostgreSQL version is 10.3.