Typo fixed
This commit is contained in:
@@ -379,7 +379,7 @@ column_sql_for_create_table({Name, Type, Constraints}) ->
|
|||||||
-spec pk_constraint_sql(any()) -> iolist().
|
-spec pk_constraint_sql(any()) -> iolist().
|
||||||
pk_constraint_sql(Constraint) ->
|
pk_constraint_sql(Constraint) ->
|
||||||
case Constraint of
|
case Constraint of
|
||||||
desc -> "DESK";
|
desc -> "DESC";
|
||||||
autoincrement -> "AUTOINCREMENT";
|
autoincrement -> "AUTOINCREMENT";
|
||||||
L -> lists:map(fun pk_constraint_sql/1, L)
|
L -> lists:map(fun pk_constraint_sql/1, L)
|
||||||
end.
|
end.
|
||||||
|
|||||||
Reference in New Issue
Block a user