for (ConfigurationKey key: ConfigurationKey.values()){
if(Configuration.findConfiguration(key) == null){
Configuration config = new Configuration();
config.setKey(key);
config.setValue(key.getDefaultValue());
config.persist();
LOGGER.info("Set config "+key+" to default value of \""+config.getValue()+"\"");
}
}
}