LoginSignup
2
3

More than 5 years have passed since last update.

Railsでmasterをマージしてdb/schema.rbがconfilictしたらやること

Last updated at Posted at 2016-04-21

Railsでmasterをマージしてdb/schema.rbがconfilictしたらやること

git checkout --theirs db/schema.rb  #db/schema.rbをマージ/リベース元のファイルに戻す
bundle exec rake db:migrate  # スキーマファイルを更新
git add db/schema.rb
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3