Skip to content

Commit

Permalink
https://github.com/javers/javers/issues/221
Browse files Browse the repository at this point in the history
commit_id numeric type
  • Loading branch information
bartoszwalacik committed Oct 14, 2015
1 parent 9eee17c commit a660a86
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ private Schema commitTableSchema(Dialect dialect, String tableName) {
relationBuilder
.withAttribute().string(COMMIT_AUTHOR).withMaxLength(200).and()
.withAttribute().timestamp(COMMIT_COMMIT_DATE).and()
.withAttribute().string(COMMIT_COMMIT_ID).withMaxLength(12).and()
//.withAttribute().number(COMMIT_COMMIT_ID).withIntegerPrecision(12).withDecimalPrecision(2).and()
.withAttribute().number(COMMIT_COMMIT_ID).withIntegerPrecision(12).withDecimalPrecision(2).and()
.build();

columnIndex(tableName, COMMIT_COMMIT_ID, schema);
Expand Down

0 comments on commit a660a86

Please sign in to comment.