Schema migrations missing when trying to import with Osmosis

Hi,
I am trying to set up local OSM database . I actually have done it couple of times and every time I encounter this error which is hard to overcome:

The problem here is that osmosis is not up to date with latest changes in OSM database. My solution to this is when proceeding with installation of Rails Port to downgrade db/structure.sql file, create schema, then import .osm file and in the end upgrade the database with something like rake db:migrate.
I am writing because I would like to know if there is some easier, less error prone solution? Do you have any experiences?
In the end I would like to point that it would be a good solution to always upgrade osmosis when upgrading OSM database, but I guess it’s not always possible.

Thanks,
Łukasz