summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-01-28 13:45:56 -0800
committerMark Wells <mark@freeside.biz>2016-01-28 13:47:05 -0800
commitbbc082b0295335839b6e52ebc46941905165f202 (patch)
tree778a4d29187c27e01a0d46068f85d4888a5d681b
parentd118790d422b3f767e0b6012ea8a150b0cdc71ad (diff)
invalidate foreign key cache during reload_dbdef, fixes upgrade problem on #25536
-rw-r--r--FS/FS/Schema.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 384944318..3ecbea3da 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