From 2c341cebba7d303226b791d762b6bd745acb51f3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 10 Jul 2017 18:09:23 -0300 Subject: [PATCH] Bug 18577: Add FIXME about the missing FK Signed-off-by: Jonathan Druart (cherry picked from commit 5d6813e0708a54a9113cd74cc6a2558c77b5fc33) Signed-off-by: Fridolin Somers --- Koha/Schema/Result/BiblioFramework.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Koha/Schema/Result/BiblioFramework.pm b/Koha/Schema/Result/BiblioFramework.pm index 3e7b70de05..93ed47386b 100644 --- a/Koha/Schema/Result/BiblioFramework.pm +++ b/Koha/Schema/Result/BiblioFramework.pm @@ -62,6 +62,9 @@ __PACKAGE__->set_primary_key("frameworkcode"); # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KY1w7J/5cBsz9VV7QEBKPw +# FIXME This should not be needed, we need to add the FK at DB level +# It cannot be done now because the default framework (frameworkcode=='') +# does not exist in DB __PACKAGE__->has_many( "marc_tag_structure", "Koha::Schema::Result::MarcTagStructure", -- 2.39.5