From 95a60147c8b2bf2fab66e6e1785708aeebfaccbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 26 Jun 2013 11:33:18 +0200 Subject: [PATCH] =?utf8?q?Bei=20foreign=20keys=20auch=20die=20::AUTO::=20n?= =?utf8?q?amespaces=20l=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- scripts/rose_auto_create_model.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/rose_auto_create_model.pl b/scripts/rose_auto_create_model.pl index 3331c247e..2e746a6bd 100755 --- a/scripts/rose_auto_create_model.pl +++ b/scripts/rose_auto_create_model.pl @@ -120,6 +120,7 @@ CODE # patch foreign keys my $foreign_key_definition = "SL::DB::AUTO::$package"->meta->perl_foreign_keys_definition(%args); + $foreign_key_definition =~ s/::AUTO::/::/g; if ($definition =~ /\Q$foreign_key_definition\E/) { my ($start, $end) = ($-[0], $+[0]); -- 2.20.1