mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Modified the type of the 'FEED_IMAGES.DATA' database field to 'longblob'. * Incremented the database version to 336. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -40,6 +40,19 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
// NEW SCHEMA REVERSIONS GO HERE...
|
||||
|
||||
|
||||
//
|
||||
// Revert 336
|
||||
//
|
||||
if((cur_schema==336)&&(set_schema<cur_schema)) {
|
||||
sql=QString("alter table FEED_IMAGES modify column ")+
|
||||
"DATA mediumblob not null";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
WriteSchemaVersion(--cur_schema);
|
||||
}
|
||||
|
||||
//
|
||||
// Revert 335
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user