Copied from other project for database config