Fix db config issue for migrations
Switched to backwards compatible carrierwave naming convention