Created
October 22, 2015 17:36
-
-
Save vterdunov/3f880debaef35a18c895 to your computer and use it in GitHub Desktop.
Проблема schema.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. feature_1 - сделали изменения в базе (добавили миграцию, прогнали ее). Изменился schema.rb | |
2. Переключились в другую ветку, для работы над feature_2. Сделали изменения в базе (добавили миграцию, прогнали ее). И вот тут в schema.rb подтянулись изменения из feature_1. | |
Это самый распространенный кейс. | |
zzet [5:46 PM] | |
Лечится организационным моментом. Если такое происходит: `RAILS_ENV=test rake db:drop db:create db:schema:load db:migrate` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment