Why Rails when the migration is not modified in the schema_migrations table ?

Hello
During the migration on the development machine, the latest version is not entered in the MySQL table schema_migrations. Have using phpmyadmin to make a version manually following otherwise the migration will fail
September 26th 19 at 11:51
1 answer
September 26th 19 at 11:53
rake db:drop
rake db:create
rake db:migrate
All rooms migration has registered except for the very last - jaron33 commented on September 26th 19 at 11:56
All migration has made changes in the database, including the latest. - jaron33 commented on September 26th 19 at 11:59
ie you have a state of PendingMigration? - emily.Kub commented on September 26th 19 at 12:02
If I do rake db:reset the version number loaded in the table schema_migrations - jaron33 commented on September 26th 19 at 12:05
Yes it is the last migration expects to boot, but is already loaded in the database. I.e. the field which she added to table in DB I can see. But the rooms of this migration in the schema_migrations table no. - jaron33 commented on September 26th 19 at 12:08
can't help, not experienced - emily.Kub commented on September 26th 19 at 12:11

Find more questions by tags MySQLRuby on Rails