diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-07-23 14:42:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-07-23 14:42:52 +0200 |
commit | 30d797ffff4a8e2492500aea2135567f91b15aa0 (patch) | |
tree | 53fa570844ab3876026ec6621b40c74547e1db24 /odb/mysql/schema.cxx | |
parent | cea6fb57ac8c9a893c0f404fef6c1469f0b6222b (diff) |
Add generation of the image class definition
Diffstat (limited to 'odb/mysql/schema.cxx')
-rw-r--r-- | odb/mysql/schema.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/odb/mysql/schema.cxx b/odb/mysql/schema.cxx index a38729e..4d25bdf 100644 --- a/odb/mysql/schema.cxx +++ b/odb/mysql/schema.cxx @@ -22,8 +22,7 @@ namespace else os << "," << endl; - os << " `" << column_name (m) << "` " << column_type (m) << - " NOT NULL"; + os << " `" << column_name (m) << "` " << column_type (m); if (m.count ("id")) os << " PRIMARY KEY"; |