diff --git a/include/sqlpp11/text.h b/include/sqlpp11/text.h index 6cce5aea..9fff0b77 100644 --- a/include/sqlpp11/text.h +++ b/include/sqlpp11/text.h @@ -216,6 +216,7 @@ namespace sqlpp } using text = detail::text; + using blob = detail::text; using varchar = detail::text; using char_ = detail::text; diff --git a/scripts/ddl2cpp b/scripts/ddl2cpp index 13011825..e65cf233 100755 --- a/scripts/ddl2cpp +++ b/scripts/ddl2cpp @@ -93,6 +93,10 @@ types = { 'char': 'char_', 'varchar': 'varchar', 'text': 'text', + 'tinyblob': 'blob', + 'blob': 'blob', + 'mediumblob': 'blob', + 'longblob': 'blob', 'bool': 'boolean', 'double': 'floating_point', 'float': 'floating_point',