Getting this error while trying to run rake db:migrate before i run rake db:seed.
== FixSequenceNames: migrating ===============================================
-- execute("alter sequence instance_credentials_id_seq rename to instance_accounts_id_seq;")
rake aborted!
An error has occurred, this and all later migrations canceled:
ActiveRecord::JDBCError: ERROR: relation "instance_credentials_id_seq" does not exist: alter sequence instance_credentials_id_seq rename to instance_accounts_id_seq;
arjdbc/jdbc/RubyJdbcConnection.java:195:in `execute'
/Users/rajdeepd/.rvm/gems/jruby-1.7.0/gems/activerecord-jdbc-adapter-1.2.6/lib/arjdbc/jdbc/adapter.rb:292:in `_execute'
/Users/rajdeepd/.rvm/gems/jruby-1.7.0/gems/activerecord-jdbc-adapter-1.2.6/lib/arjdbc/jdbc/adapter.rb:278:in `execute'
/Users/rajdeepd/.rvm/gems/jruby-1.7.0/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'
/Users/rajdeepd/.rvm/gems/jruby-1.7.0/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/Users/rajdeepd/.rvm/gems/jruby-1.7.0/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb:19:in `instrument'
/Users/rajdeepd/.rvm/gems/jruby-1.7.0/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/Users/rajdeepd/.rvm/gems/jruby-1.7.0/gems/activerecord-jdbc-adapter-1.2.6/lib/arjdbc/jdbc/adapter.rb:278:in `execute'
org/jruby/RubyBasicObject.java:1673:in `__send__'