Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEli E
10,142 PointsI tried running the command I was told to, and I still have the same issue.
Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development
Extracted source (around line #392): 390 391 392 393 394 395
def check_pending!(connection = Base.connection)
raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration?(connection)
end
def load_schema_if_pending!
1 Answer
peyton caseria
Courses Plus Student 12,281 PointsDid you try running the command bundle exec rake db:create db:migrate
If that doesn't work this was suggested here to drop the database
http://stackoverflow.com/questions/27141288/rake-aborted-database-will-not-migrate
rake db:drop
read to the bottom of the thread, and some of the top to see if this is the solution you want to use.