Project

General

Profile

Feature #2400

Add foreign keys on database level

Added by Joseph Magen almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Related issues

Related to Foreman - Bug #3202: Orphaned records migration should use delete_all for speedClosed2013-10-04
Related to Foreman - Bug #3097: foreign key error on deleting trendClosed2013-09-16
Related to Foreman - Bug #3194: Ugly errors when destroy actions are stopped by FKsDuplicate2013-10-03
Related to Foreman - Bug #3212: defer MySQL foreign key constraints for rake db:convert:prod2devClosed2013-10-08
Related to Foreman - Bug #2899: Unable to remove the ptable because it is still associated with the hostClosed2013-08-08
Related to Foreman - Bug #3071: OS edit integration test failure with foreign keysClosed2013-09-11
Related to Foreman - Bug #3268: defer postgresql foreign key constraints for rake db:convert:prod2devClosed2013-10-08
Related to Foreman - Refactor #3539: Drop foreman-mysqlClosed2013-10-29

Associated revisions

Revision 7d1d44cf (diff)
Added by Joseph Magen almost 10 years ago

refs #2400 clean up tests so there are no orphaned foreign keys

Revision 4e057da2 (diff)
Added by Joseph Magen over 9 years ago

fixes #2400 migration to remove orphaned records and add foreign keys constraints to database tables

Revision a389e713 (diff)
Added by Joseph Magen over 9 years ago

fixes #2400 continuation - match all host STI classes when finding orphaned records

Revision 9979863d (diff)
Added by Dominic Cleal over 9 years ago

refs #2400 - add foreigner/immigrant dependencies to spec file

History

#1 Updated by Joseph Magen almost 10 years ago

  • Status changed from New to Ready For Testing

#3 Updated by Dominic Cleal over 9 years ago

  • Category set to DB migrations
  • Target version set to 1.3.0

#4 Updated by Joseph Magen over 9 years ago

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

#5 Updated by Dominic Cleal over 9 years ago

  • Related to Bug #3202: Orphaned records migration should use delete_all for speed added

#6 Updated by Dominic Cleal over 9 years ago

  • Related to Bug #3097: foreign key error on deleting trend added

#7 Updated by Dominic Cleal over 9 years ago

  • Related to Bug #3194: Ugly errors when destroy actions are stopped by FKs added

#8 Updated by Dominic Cleal over 9 years ago

  • Related to Bug #3212: defer MySQL foreign key constraints for rake db:convert:prod2dev added

#9 Updated by Dominic Cleal over 9 years ago

  • Related to Bug #2899: Unable to remove the ptable because it is still associated with the host added

#10 Updated by Dominic Cleal over 9 years ago

  • Related to Bug #3071: OS edit integration test failure with foreign keys added

#11 Updated by Dominic Cleal over 9 years ago

  • Related to Bug #3268: defer postgresql foreign key constraints for rake db:convert:prod2dev added

#12 Updated by Dominic Cleal over 9 years ago

Also available in: Atom PDF