diff options
Diffstat (limited to 'odb/relational/sqlite/model.cxx')
-rw-r--r-- | odb/relational/sqlite/model.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/sqlite/model.cxx b/odb/relational/sqlite/model.cxx index 60522a3..41d5d6c 100644 --- a/odb/relational/sqlite/model.cxx +++ b/odb/relational/sqlite/model.cxx @@ -28,7 +28,7 @@ namespace relational { // Make sure the column is mapped to INTEGER. // - if (column_sql_type (m).type != sql_type::INTEGER) + if (parse_sql_type (column_type (), m).type != sql_type::INTEGER) { cerr << m.file () << ":" << m.line () << ":" << m.column () << ": error: column with default value specified as C++ " |