setSchemaVersion(getLatestSchemaVersion());
} catch (Exception e) {
throw new PermissionBackendException("Deploying of default data failed. Please initialize database manually using " + dbDriver + ".sql", e);
}
PermissionsGroupData defGroup = getGroupData("default");
defGroup.setPermissions(Collections.singletonList("modifyworld.*"), null);
defGroup.setOption("default", "true", null);
defGroup.save();
getLogger().info("Database scheme deploying complete.");
}