You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just intalled gem, created a shard, configured shard.yml, successfully ran a migration against the shard using using(:shard_1) at the top of the migration, but now when sending a request to the application I receive an ActiveRecord::PendingMigrationError.
Am I missing something?
Is there something that needs to be done to tell the master that a migration version has run?
The text was updated successfully, but these errors were encountered:
It appears that when running migration only on shard which is not the main shard octopus doesn’t insert the migration number to the main shard’s schema migrations table. This causes the pending migrations problem.
Just intalled gem, created a shard, configured shard.yml, successfully ran a migration against the shard using using(:shard_1) at the top of the migration, but now when sending a request to the application I receive an ActiveRecord::PendingMigrationError.
Am I missing something?
Is there something that needs to be done to tell the master that a migration version has run?
The text was updated successfully, but these errors were encountered: