2020-04-18 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'EVENTS.PROPERTIES' field from the database.
	* Incremented the database version to 316.
	* Removed the 'RDEventLine::properties()' and
	'RDEventLine::setProperties()' methods.
	* Added 'RDEventLine::propertiesText()' methods.
	* Added a 'Trans' column to the event list in the 'Edit Clock'
	dialog in rdlogmanager(1).
	* Added a 'Trans' column to the event list in the 'List Events'
	dialog in rdlogmanager(1).

Signed-off-by: Fred Gleason <fredg@paraelsystems.com>
This commit is contained in:
Fred Gleason
2020-04-18 10:09:20 -04:00
parent 3c00fd9adf
commit 8637def359
30 changed files with 644 additions and 334 deletions

View File

@@ -37,9 +37,23 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
// corresponding update in updateschema.cpp!
//
// NEW SCHEMA REVERSIONS GO HERE...
//
// Revert 316
//
if((cur_schema==316)&&(set_schema<cur_schema)) {
sql=QString("alter table EVENTS add column PROPERTIES varchar(64) ")+
"after NAME";
if(!RDSqlQuery::apply(sql,err_msg)) {
return false;
}
WriteSchemaVersion(--cur_schema);
}
//
// Revert 315
//