From b2134a6a3fb4dd80adcdf6148be64a3d8198fcca Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Tue, 8 Sep 2015 11:42:12 -0400 Subject: [PATCH] Fixes #11736: Shorten content view puppet env foreign key name --- db/migrate/20150606021722_create_puppet_modules.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20150606021722_create_puppet_modules.rb b/db/migrate/20150606021722_create_puppet_modules.rb index ad2e27d85a2..842a17be369 100644 --- a/db/migrate/20150606021722_create_puppet_modules.rb +++ b/db/migrate/20150606021722_create_puppet_modules.rb @@ -43,7 +43,7 @@ def up :name => 'index_katello_cv_puppet_env_module_on_module_id_and_cvpe_id' add_foreign_key "katello_content_view_puppet_environment_puppet_modules", "katello_puppet_modules", - :name => "katello_content_view_puppet_env_puppet_modules_puppet_module_id_fk", + :name => "katello_cv_puppet_env_puppet_modules_puppet_module_id_fk", :column => "puppet_module_id" add_foreign_key "katello_content_view_puppet_environment_puppet_modules", "katello_content_view_puppet_environments", :name => "katello_content_view_puppet_env_puppet_modules_repo_id_fk",