Primary key may be asc as well
This commit is contained in:
@@ -380,6 +380,7 @@ column_sql_for_create_table({Name, Type, Constraints}) ->
|
||||
pk_constraint_sql(Constraint) ->
|
||||
case Constraint of
|
||||
desc -> "DESC";
|
||||
asc -> "ASC";
|
||||
autoincrement -> "AUTOINCREMENT";
|
||||
L -> lists:map(fun pk_constraint_sql/1, L)
|
||||
end.
|
||||
|
||||
Reference in New Issue
Block a user