diff --git a/include/sqlpp11/table.h b/include/sqlpp11/table.h index 17a80836..cf0c9a3f 100644 --- a/include/sqlpp11/table.h +++ b/include/sqlpp11/table.h @@ -52,7 +52,7 @@ namespace sqlpp using _nodes = detail::type_vector<>; using _provided_tables = detail::type_set; - static_assert(sizeof...(ColumnSpec), "at least one column required per table"); + static_assert(sizeof...(ColumnSpec) > 0, "at least one column required per table"); using _required_insert_columns = typename detail::make_type_set_if...>::type; using _column_tuple_t = std::tuple...>;