return upgrader;
}
// Called for completely fresh DB only
private void addInstallChangeSet(GenericDatabaseUpgrader upgrader) {
DatabaseChangeSet changeSet = new DatabaseChangeSet(DatabaseVersion.valueOf("4"));
changeSet.add(installScript("Member.sql"));
changeSet.add(installScript("Group.sql"));
changeSet.add(installScript("Activity.sql"));
changeSet.add(installScript("ConnectedApp.sql"));
changeSet.add(installScript("Reset.sql"));
changeSet.add(installScript("Invite.sql"));
changeSet.add(installScript("Venue.sql"));
changeSet.add(installScript("Event.sql"));
changeSet.add(SqlDatabaseChange.inResource(new ClassPathResource("JdbcUsersConnectionRepository.sql", JdbcUsersConnectionRepository.class)));
addInstallChanges(changeSet);
upgrader.addChangeSet(changeSet);
}