Change bd to postgresql by updating db yml and gemfile.