mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2020-03-16 Fred Gleason <fredg@paravelsystems.com>
* Updated the maximum length of RSS <channel> entries to match the current DB schema in the 'Edit Feed' dialog in rdadmin(1). * Added a 'FEEDS.CHANNEL_EDITOR' field to the database. * Incremented the database version to 318. * Added 'RDFeed::channelEditor()' and 'RDFeed::setChannelEditor()' methods. * Added an 'Editor' control to the 'Channel' controls in the 'Edit Feed' dialog in rdadmin(1).
This commit is contained in:
@@ -41,6 +41,15 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
// NEW SCHEMA REVERSIONS GO HERE...
|
||||
|
||||
|
||||
//
|
||||
// Revert 318
|
||||
//
|
||||
if((cur_schema==318)&&(set_schema<cur_schema)) {
|
||||
DropColumn("FEEDS","CHANNEL_EDITOR");
|
||||
|
||||
WriteSchemaVersion(--cur_schema);
|
||||
}
|
||||
|
||||
//
|
||||
// Revert 317
|
||||
//
|
||||
|
Reference in New Issue
Block a user