CC-5896: Store cloud files in separate table, inherited from cc_files

Added delete on cascade for cloud files
This commit is contained in:
drigato 2014-07-28 16:03:57 -04:00
parent f6aa2e5a3b
commit 6fa7ddba9a
6 changed files with 12 additions and 9 deletions

View file

@ -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();