aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/qt/mysql/default-mapping.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/qt/mysql/default-mapping.hxx b/odb/qt/mysql/default-mapping.hxx
index 6d3be3b..6647bbd 100644
--- a/odb/qt/mysql/default-mapping.hxx
+++ b/odb/qt/mysql/default-mapping.hxx
@@ -10,6 +10,6 @@
// Map QString to MySQL TEXT by default.
//
-#pragma db value(QString) type("TEXT")
+#pragma db value(QString) type("VARCHAR(56) NOT NULL")
#endif // ODB_QT_MYSQL_DEFAULT_MAPPING_HXX