Actions
Refactor #14581
closedFix migrations for Rails 4.2
Difficulty:
trivial
Triaged:
Description
PG::Error: ERROR: constraint "containers_docker_image_id_fk" of relation "containers" does not exist : ALTER TABLE "containers" DROP CONSTRAINT "containers_docker_image_id_fk"/home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql/database_statements .rb:155:in `exec' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract_adapter.rb:472:in `block in log' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `log' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/schema_statements.rb:815:in `remove_foreign_key' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/migration.rb:665:in `block in method_missing' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/migration.rb:634:in `block in say_with_time' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/migration.rb:634:in `say_with_time' /home/vagrant/.rvm/gems/ruby-2.2.4@foreman/gems/activerecord-4.2.6/lib/active_record/migration.rb:654:in `method_missing' /home/vagrant/foreman-docker/db/migrate/20141209182008_remove_docker_tables.rb:23:in `up'
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-docker/pull/157 added
Updated by David Davis over 8 years ago
- Related to Feature #13244: Upgrade Ruby on Rails to 4.2 added
Updated by David Davis over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman-docker|5988625da66b0430e5a0859cadcf5582090e91db.
Actions