2022-10-18 Fred Gleason <fredg@paravelsystems.com>

* Added values for the `IMPORTER_TEMPLATES.TRANS_TYPE_*` and
	`TIMPORTER_TEMPLATES.TIME_TYPE_*` parser settings for the
	'Rivendell Standard Import' profile.
	* Incremented the database version to 364.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-10-18 16:08:47 -04:00
parent 41a3ff7c03
commit 98957e1d62
7 changed files with 57 additions and 5 deletions

View File

@@ -41,6 +41,23 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
// NEW SCHEMA REVERSIONS GO HERE...
//
// Revert 364
//
if((cur_schema==364)&&(set_schema<cur_schema)) {
sql=QString("update `IMPORT_TEMPLATES` set ")+
"`TRANS_TYPE_OFFSET`=NULL,"+
"`TRANS_TYPE_LENGTH`=NULL,"+
"`TIME_TYPE_OFFSET`=NULL,"+
"`TIME_TYPE_LENGTH`=NULL "+
"where `NAME`='Rivendell Standard Import'";
if(!RDSqlQuery::apply(sql,err_msg)) {
return false;
}
WriteSchemaVersion(--cur_schema);
}
//
// Revert 363
//