Move database config to environments configs