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

* Removed the 'EVENTS.POST_POINT' field from the database.
	* Removed the 'LOG_LINES.POST_POINT' field from the database.
	* Incremented the database version tp 315.
	* Removed 'RDEventLine::postPoint()' and
	'RDEventLine::setPostPoint()' methods.
	* Removed the 'Post Point' checkbox from the 'Editing Event' dialog
	in rdlogmanager(1).
This commit is contained in:
Fred Gleason
2020-04-16 17:26:18 -04:00
parent 5126a59e05
commit 2e6a13eba1
22 changed files with 187 additions and 250 deletions

View File

@@ -40,6 +40,25 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
// NEW SCHEMA REVERSIONS GO HERE...
//
// Revert 315
//
if((cur_schema==315)&&(set_schema<cur_schema)) {
sql=QString("alter table EVENTS add column POST_POINT enum('N','Y') ")+
"default 'N' after GRACE_TIME";
if(!RDSqlQuery::apply(sql,err_msg)) {
return false;
}
sql=QString("alter table LOG_LINES add column POST_POINT enum('N','Y') ")+
"default 'N' after TIME_TYPE";
if(!RDSqlQuery::apply(sql,err_msg)) {
return false;
}
WriteSchemaVersion(--cur_schema);
}
//
// Revert 314
//