SAAS-1058: Podcast table schema

Renamed podcast_contents to podcast_episodes
Added new columns to podcast_episodes table
This commit is contained in:
drigato 2015-09-18 09:51:44 -04:00
parent f6f23864ce
commit 9a2e9d1b3b
18 changed files with 889 additions and 637 deletions

View file

@ -56,7 +56,7 @@ class PodcastTableMap extends TableMap
public function buildRelations()
{
$this->addRelation('CcSubjs', 'CcSubjs', RelationMap::MANY_TO_ONE, array('owner' => 'id', ), 'CASCADE', null);
$this->addRelation('PodcastContents', 'PodcastContents', RelationMap::ONE_TO_MANY, array('id' => 'podcast_id', ), 'CASCADE', null, 'PodcastContentss');
$this->addRelation('PodcastEpisodes', 'PodcastEpisodes', RelationMap::ONE_TO_MANY, array('id' => 'podcast_id', ), 'CASCADE', null, 'PodcastEpisodess');
} // buildRelations()
} // PodcastTableMap