From 5ff16520adf5c564a053875165418fe32abf1a5c Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 28 Jan 2016 13:45:56 -0800 Subject: [PATCH] invalidate foreign key cache during reload_dbdef, fixes upgrade problem on #25536 --- FS/FS/Schema.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 63276b7e7..029dbe10c 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -56,6 +56,7 @@ sub reload_dbdef { warn "[debug]$me re-using cached dbdef for $file\n" if $DEBUG; } $dbdef = $dbdef_cache{$file}; + FS::Record::fk_methods_init(); } =item dbdef -- 2.11.0