Skip to content

Commit

Permalink
Merge pull request #134 from bassmartin/master
Browse files Browse the repository at this point in the history
Put back default constructor to fix issue with migration on start :
  • Loading branch information
jameskleeh authored Jul 20, 2018
2 parents 427b995 + 8fd2060 commit ea751bc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class GormDatabase extends HibernateDatabase {
private Dialect dialect
private Metadata metadata

GormDatabase() {
}

GormDatabase(Dialect dialect, ServiceRegistry serviceRegistry) {
this.dialect = dialect
this.metadata = new MetadataSources(serviceRegistry).getMetadataBuilder().build();
Expand Down

0 comments on commit ea751bc

Please sign in to comment.