raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration?

  def check_pending!(connection = Base.connection)
    raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration?(connection)
  end

  def load_schema_if_pending!

i have run: bin/rake db:migrate RAILS_ENV=development but still nothing happens, i was trying to add community engine to my rails 4.2 app, help anyone?

Thanks

Upvotes: -1

Views: 3781

Answers (1)

355E3b
355E3b

Reputation: 84

Per the installation instructions you need to run rake community_engine:install:migrations before rake db:migrate.

Upvotes: 0

Related Questions