DRY up database configuration file.