diff options
author | Mark Wells <mark@freeside.biz> | 2016-01-28 13:45:56 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-01-28 13:47:05 -0800 |
commit | bbc082b0295335839b6e52ebc46941905165f202 (patch) | |
tree | 778a4d29187c27e01a0d46068f85d4888a5d681b | |
parent | d118790d422b3f767e0b6012ea8a150b0cdc71ad (diff) |
invalidate foreign key cache during reload_dbdef, fixes upgrade problem on #25536
-rw-r--r-- | FS/FS/Schema.pm | 1 |
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 |