Project

General

Profile

Actions

Refactor #14581

closed

Fix migrations for Rails 4.2

Added by David Davis over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin (foreman_docker)
Target version:
-
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

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'

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #13244: Upgrade Ruby on Rails to 4.2ClosedDominic Cleal01/15/2016Actions
Actions #1

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
Actions #2

Updated by David Davis over 8 years ago

Actions #3

Updated by David Davis over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF