Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/Raizlabs/DBFlow into dev…
Browse files Browse the repository at this point in the history
…elop
  • Loading branch information
Andrew Grosner committed Jul 2, 2015
2 parents 1ce9d56 + 35fb596 commit fa7f3da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class TableCreationQueryBuilder extends QueryBuilder<TableCreationQueryBu
* @return
*/
public QueryBuilder appendColumn(ColumnDefinition column) {
if (column.length> -1) {
if (column.length> -1 && !column.isPrimaryKeyAutoIncrement) {
query.append("(");
query.append(column.length);
query.append(")");
Expand Down

0 comments on commit fa7f3da

Please sign in to comment.