when I go to my http://localhost:3000/ I am getting the following:
ActiveRecord::PendingMigrationError
Migrations are pending. To resolve this issue, run: bin/rails db:migrate RAILS_ENV=development
Extracted source:
# Raises <tt>ActiveRecord::PendingMigrationError</tt> error if any migrations are pending.
def check_pending!(connection = Base.connection)
raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration?(connection)
end
def load_schema_if_pending!
Also, when I tried to to the heroku run rake db:migrate in the console, it said:
StandardError: An error has occurred, this and all later migrations canceled: PG::DuplicateColumn: ERROR: column "email" of relation "users" already exists
I am new to ruby and followed the devise tutorial by Mackenzie Child. It's my last step to complete my first ruby application.
I am excited and looking forward to your help! :)