Skip to content

Commit

Permalink
Merge pull request agrosner#304 from Raizlabs/revert-290-master
Browse files Browse the repository at this point in the history
Revert "AUTOINCREMENT is only allowed on an INTEGER  PRIMARY KEY"
  • Loading branch information
agrosner committed Jul 2, 2015
2 parents 92dd4ed + 74e6bc1 commit 4268fd9
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 && !column.isPrimaryKeyAutoIncrement) {
if (column.length> -1) {
query.append("(");
query.append(column.length);
query.append(")");
Expand Down

0 comments on commit 4268fd9

Please sign in to comment.