aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/qt/basic/mysql/qbyte-array-traits.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/qt/basic/mysql/qbyte-array-traits.hxx b/odb/qt/basic/mysql/qbyte-array-traits.hxx
index 4477278..e31c82d 100644
--- a/odb/qt/basic/mysql/qbyte-array-traits.hxx
+++ b/odb/qt/basic/mysql/qbyte-array-traits.hxx
@@ -61,6 +61,12 @@ namespace odb
}
}
};
+
+ template <>
+ class default_type_traits<QByteArray>
+ {
+ static const database_type_id db_type_id = id_blob;
+ };
}
}