Skip to content

Instantly share code, notes, and snippets.

@ArunGupta25
Created December 20, 2013 20:38
Show Gist options
  • Save ArunGupta25/8061141 to your computer and use it in GitHub Desktop.
Save ArunGupta25/8061141 to your computer and use it in GitHub Desktop.
Running `rake db:migrate` attached to terminal... up, run.5405
Connecting to database specified by DATABASE_URL
Migrating to DeviseCreateUsers (20130912232427)
Migrating to CreateListings (20130913002812)
Migrating to CreatePhotos (20130913190236)
Migrating to AddDetailsToListings (20130914211523)
Migrating to RemoveTypeFromListing (20130916223611)
Migrating to AddCategoryToListing (20130916223708)
Migrating to CreateMailboxer (20130919193851)
Migrating to AddNotifiedObject (20130919193852)
Migrating to AddNotificationCode (20130919193853)
Migrating to AddAttachments (20130919193854)
Migrating to RenameReceiptsRead (20130919193855)
Migrating to AddGlobalNotificationSupport (20130919193856)
Migrating to AddSoldToListing (20131001020751)
Migrating to AddPaypalIdToUser (20131009232841)
Migrating to AddPaypalIdToListing (20131009233445)
Migrating to AddNewDetailsToListings (20131015215830)
Migrating to AddColorToListing (20131202013601)
Migrating to AddBuyerIdToListing (20131204212033)
Migrating to AddPriceDropsToListing (20131204212518)
Migrating to AddDroppedToListing (20131204212559)
Migrating to AddUsernameToUser (20131216013442)
Migrating to AddMoreDetailsToListing (20131218030454)
Migrating to CreateDelayedJobs (20131219033718)
== CreateDelayedJobs: migrating ==============================================
-- create_table(:delayed_jobs, {:force=>true})
rake aborted!
An error has occurred, this and all later migrations canceled:
PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block
: SELECT tablename
FROM pg_tables
WHERE schemaname = ANY (current_schemas(false))
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:642:in `exec'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:642:in `block in query'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:641:in `query'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:777:in `tables'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:526:in `ensure in disable_referential_integrity'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:526:in `disable_referential_integrity'
/app/vendor/bundle/ruby/1.9.1/gems/foreigner-1.6.0/lib/foreigner/connection_adapters/sql2003.rb:11:in `drop_table'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/schema_statements.rb:163:in `create_table'
/app/vendor/bundle/ruby/1.9.1/gems/foreigner-1.6.0/lib/foreigner/connection_adapters/abstract/schema_statements.rb:14:in `create_table'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:466:in `block in method_missing'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:438:in `block in say_with_time'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:438:in `say_with_time'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:458:in `method_missing'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:334:in `method_missing'
/app/db/migrate/20131219033718_create_delayed_jobs.rb:3:in `up'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:370:in `up'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:410:in `block in migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:389:in `migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:528:in `migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:775:in `call'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:775:in `block in ddl_transaction'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/transactions.rb:208:in `transaction'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:775:in `ddl_transaction'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:719:in `block in migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:700:in `each'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:700:in `migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:570:in `up'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/migration.rb:551:in `migrate'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/railties/databases.rake:193:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment