Kntmrkm.new

WEB技術のメモ

Herokuで`ridgepole`を実行する

database.yml

production: <<: *default host: <%= ENV['DB_HOST'] %> pool: <%= ENV['DB_POOL'] %> port: 5432 database: <%= ENV['DB_NAME'] %> username: <%= ENV['DB_USER'] %> password: <%= ENV['DB_PASS'] %>

コマンド

heroku run bundle exec ridgepole -c config/database.yml --apply --file=db/schemefile.rb -E production