mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
2020-05-17 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'RSS_SCHEMAS' table from the database. * Incremented the database version to 325. * Moved RSS template definitions to 'lib/rdfeed.h'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -41,6 +41,24 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Revert 325
|
||||
//
|
||||
if((cur_schema==325)&&(set_schema<cur_schema)) {
|
||||
sql=QString("create table RSS_SCHEMAS (")+
|
||||
"ID int unsigned primary key,"+
|
||||
"NAME varchar(64) unique not null,"+
|
||||
"HEADER_XML text,"+
|
||||
"CHANNEL_XML text,"+
|
||||
"ITEM_XML text,"+
|
||||
"index NAME_IDX(NAME))";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
WriteSchemaVersion(--cur_schema);
|
||||
}
|
||||
|
||||
//
|
||||
// Revert 324
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user