projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d118790
)
invalidate foreign key cache during reload_dbdef, fixes upgrade problem on #25536
author
Mark Wells
<mark@freeside.biz>
Thu, 28 Jan 2016 21:45:56 +0000
(13:45 -0800)
committer
Mark Wells
<mark@freeside.biz>
Thu, 28 Jan 2016 21:47:05 +0000
(13:47 -0800)
FS/FS/Schema.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Schema.pm
b/FS/FS/Schema.pm
index
3849443
..
3ecbea3
100644
(file)
--- 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