Skip to content

Commit

Permalink
Merge pull request #52 from woehrl01/patch-16
Browse files Browse the repository at this point in the history
0003287: Invalid symbols in index name lead to sync error on SQLite
  • Loading branch information
chenson42 committed Oct 30, 2017
2 parents 52bc5fb + 8fde685 commit 2243f61
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -136,6 +136,11 @@ protected void dropTable(Table table, StringBuilder ddl, boolean temporary, bool
printEndOfStatement(ddl);
}

@Override
public String getIndexName(IIndex index) {
return super.getIndexName(index).replace("-", "_");
}

@Override
protected String mapDefaultValue(Object defaultValue, int typeCode) {
if (TypeMap.isDateTimeType(typeCode) && defaultValue != null) {
Expand Down

0 comments on commit 2243f61

Please sign in to comment.