R
R
Ruslan Galiev2014-07-25 07:30:34
MySQL
Ruslan Galiev, 2014-07-25 07:30:34

Rails why does the migration not make changes to the schema_migrations table?

Hello
When migrating on a development machine, the latest version is not entered into the MySQL schema_migrations table. You have to manually enter the version through phpmyadmin otherwise the next migration will fail

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Dyachuk, 2014-07-31
@Renius

rake db:drop
rake db:create
rake db:migrate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question