SAAS-1058: Podcast table schema

SAAS-1059: Add description field to cc_files
This commit is contained in:
drigato 2015-09-14 17:00:54 -04:00
parent 2d2ed25fcc
commit 28493497fd
32 changed files with 7660 additions and 18 deletions

View file

@ -57,6 +57,7 @@ class Application_Model_StoredFile
"owner_id" => "DbOwnerId",
"cuein" => "DbCueIn",
"cueout" => "DbCueOut",
"description" => "DbDescription"
);
function __construct($file, $con) {
@ -672,7 +673,7 @@ SQL;
"bit_rate", "sample_rate", "isrc_number", "encoded_by", "label",
"copyright", "mime", "language", "filepath", "owner_id",
"conductor", "replay_gain", "lptime", "is_playlist", "is_scheduled",
"cuein", "cueout" );
"cuein", "cueout", "description" );
}
public static function searchLibraryFiles($datatables)
@ -781,7 +782,7 @@ SQL;
$blSelect[] = "NULL::VARCHAR AS ".$key;
$fileSelect[] = $key;
$streamSelect[] = $key;
}
}
else {
$plSelect[] = "NULL::text AS ".$key;
$blSelect[] = "NULL::text AS ".$key;