Check whether DB initialized

`rake db:migrate` isn't run on the first push.Guard DB initialized