Hello everyone,
I have an existing database with a TEXT type field. What should be the type of my variable in the model.
Same question for a MEDIUMBLOB type
Thank you for your help,
Eric
Hello everyone,
I have an existing database with a TEXT type field. What should be the type of my variable in the model.
Same question for a MEDIUMBLOB type
Thank you for your help,
Eric
String should work fine for TEXT
. For MEDIUMBLOB
you probably want Data
Hello Tim,
Actually the problem exists on VARCHAR and TEXT. If I use a database with tables created by Vapor migrations, the problem does not exist. But if I write to manually created tables, the problem exists. But with SequelPro I don't see any difference in the table structure. Is it possible in the model to force UTF8 Unicode before writing to MariaDB?
RĂ©pondre: Swift Forums incoming+aa63ac25eb2d2111b0a0a1bab34ecf04@swift.discoursemail.com
Sujet: [Swift Forums] [Related Projects/Vapor] Questions on mysql with Vapor
Did you get this fixed?