Project

General

Profile

Bug #30052

ActiveRecord dumps dynflow tables even though it cannot recreate them properly

Added by Adam Ruzicka 5 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

This leads to tests failing with

PG::InvalidForeignKey: ERROR:  there is no unique constraint matching given keys for referenced table "dynflow_actions" 


Related issues

Related to foreman-tasks - Bug #30054: Do not ignore Dynflow tables when dumping schemaClosed

Associated revisions

Revision 441b71b8 (diff)
Added by Adam Ruzicka 4 months ago

Fixes #30052 - Do not dump dynflow tables when dumping db schema

This should fix 'PG::InvalidForeignKey: ERROR: there is no unique
constraint matching given keys for referenced table "dynflow_actions"'
error appearing in plugin tests.

History

#1 Updated by The Foreman Bot 5 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7727 added

#2 Updated by Anonymous 5 months ago

  • Related to Bug #30054: Do not ignore Dynflow tables when dumping schema added

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 2.2.0 added

#4 Updated by Adam Ruzicka 4 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7741 added

#6 Updated by Tomer Brisker 4 months ago

  • Fixed in Releases 2.1.0 added
  • Fixed in Releases deleted (2.2.0)

#7 Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/theforeman/foreman/pull/7975 added

#8 Updated by Adam Ruzicka about 1 month ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/7975)

Also available in: Atom PDF