Solved problems with heroku deployment. Solution - heroku run rake db:setup