2020-11-22 Fred Gleason <fredg@paravelsystems.com>

* Added a 'SYSTEM.ORIGIN_EMAIL_ADDRESS' field to the database.
	* Added a 'GROUPS.NOTIFY_EMAIL_ADDRESS' field to the database.
	* Incremented the database version to 344.
	* Added an 'Origin E-Mail Address' control to the 'System-Wide
	Settings' dialog in rdadmin(1).
	* Added a 'Notification E-Mail Addresses' control to the 'Group'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-11-22 13:58:59 -05:00
parent 5386947984
commit deb363f6eb
22 changed files with 213 additions and 56 deletions

View File

@@ -49,6 +49,17 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
WriteSchemaVersion(--cur_schema);
}
//
// Revert 344
//
if((cur_schema==344)&&(set_schema<cur_schema)) {
DropColumn("GROUPS","NOTIFY_EMAIL_ADDRESS");
DropColumn("SYSTEM","ORIGIN_EMAIL_ADDRESS");
WriteSchemaVersion(--cur_schema);
}
//
// Revert 342
//