private bool Migrate_21 ()
{
// We had a bug where downloaded podcast episodes would no longer have the Podcast attribute.
int id = connection.Query<int> ("SELECT PrimarySourceId FROM CorePrimarySources WHERE StringID = 'PodcastSource-PodcastLibrary'");
if (id > 0) {
connection.Execute ("UPDATE CoreTracks SET Attributes = Attributes | ? WHERE PrimarySourceID = ?", (int)TrackMediaAttributes.Podcast, id);
}
return true;
}