public ExtendedRelation addMediaRelationship ( String baseTableName , MediaTable mediaTable , String mappingTableName ) { return addRelationship ( baseTableName , mediaTable , mappingTableName ) ; }
Adds a media relationship between the base table and user media related table . Creates a default user mapping table and the media table if needed .