Fixed a bug with multiple primary key subconstraints

This commit is contained in:
Alexey Romanov
2011-04-28 10:07:08 +04:00
parent 747d13d85a
commit 13e4e62140
2 changed files with 2 additions and 2 deletions

View File

@@ -382,7 +382,7 @@ pk_constraint_sql(Constraint) ->
desc -> "DESC";
asc -> "ASC";
autoincrement -> "AUTOINCREMENT";
L -> lists:map(fun pk_constraint_sql/1, L)
List -> map_intersperse(fun pk_constraint_sql/1, List, " ")
end.
-spec constraint_sql(any()) -> iolist().