mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user