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:
Fred Gleason
2020-09-22 15:44:51 -04:00
parent 5a549b7866
commit d534aacfd1
6 changed files with 29 additions and 3 deletions

View File

@@ -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
//