Fixed sql trouble.
Change sqlite to dev group in gemfile, heroku fix.