Added database config
Added database migrations