should the "schema migrations" table have more than one row???


Should the “schema migrations” table have more than one row??? If yes how do you know what the current version is supposed to be?

I noted mine looks like the following. Is this a problem?

I’m guessing that it needs to keep the whole list of migration versions given there’s been a change in the way migration version naming are created. So in this case Rails would check to see for each migration, whether there is already an entry in the “schema_migrations” table, and if there is it would assume the migration has been applied.

Is this correct?

Yes, you are correct.