mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PODCASTS.SHA1_HASH' field to the database. * Incremented the database version to 335. * Added 'RDPodcast::sha1Hash()' and 'RDPodcast::setSha1Hash()' methods. * Implemented audio relinking for podcast media files. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -40,6 +40,16 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
// NEW SCHEMA REVERSIONS GO HERE...
|
||||
|
||||
|
||||
//
|
||||
// Revert 335
|
||||
//
|
||||
if((cur_schema==335)&&(set_schema<cur_schema)) {
|
||||
DropIndex("PODCASTS","SHA1_HASH_IDX");
|
||||
DropColumn("PODCASTS","SHA1_HASH");
|
||||
|
||||
WriteSchemaVersion(--cur_schema);
|
||||
}
|
||||
|
||||
//
|
||||
// Revert 334
|
||||
//
|
||||
|
Reference in New Issue
Block a user