summaryrefslogtreecommitdiff
path: root/odb/relational/schema.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/schema.hxx')
-rw-r--r--odb/relational/schema.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/relational/schema.hxx b/odb/relational/schema.hxx
index 9d64276..b218c2b 100644
--- a/odb/relational/schema.hxx
+++ b/odb/relational/schema.hxx
@@ -193,6 +193,13 @@ namespace relational
constraints (m);
reference (m);
+ // If we have options, add them.
+ //
+ string const& o (column_options (m, prefix_));
+
+ if (!o.empty ())
+ os << " " << o;
+
return true;
}