CC-5896: Store cloud files in separate table, inherited from cc_files
Added delete on cascade for cloud files
This commit is contained in:
parent
f6aa2e5a3b
commit
6fa7ddba9a
6 changed files with 12 additions and 9 deletions
|
@ -700,6 +700,9 @@ abstract class BaseCcFilesPeer
|
|||
*/
|
||||
public static function clearRelatedInstancePool()
|
||||
{
|
||||
// Invalidate objects in CloudFilePeer instance pool,
|
||||
// since one or more of them may be deleted by ON DELETE CASCADE/SETNULL rule.
|
||||
CloudFilePeer::clearInstancePool();
|
||||
// Invalidate objects in CcShowInstancesPeer instance pool,
|
||||
// since one or more of them may be deleted by ON DELETE CASCADE/SETNULL rule.
|
||||
CcShowInstancesPeer::clearInstancePool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue