mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +01:00
2020-10-09 Fred Gleason <fredg@paravelsystems.com>
* Added an index to the 'GPIO_EVENTS.EVENT_DATETIME' field. * Incremented the database version to 342. * Implemented the '--verbose' switch for rdmaint(8). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -40,6 +40,15 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
// NEW SCHEMA REVERSIONS GO HERE...
|
||||
|
||||
|
||||
//
|
||||
// Revert 342
|
||||
//
|
||||
if((cur_schema==342)&&(set_schema<cur_schema)) {
|
||||
DropIndex("GPIO_EVENTS","EVENT_DATETIME_IDX");
|
||||
|
||||
WriteSchemaVersion(--cur_schema);
|
||||
}
|
||||
|
||||
//
|
||||
// Revert 341
|
||||
//
|
||||
@@ -47,6 +56,7 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
DropColumn("IMPORTER_LINES","FILE_LINE");
|
||||
DropColumn("IMPORTER_LINES","LINK_START_TIME");
|
||||
DropColumn("IMPORTER_LINES","LINK_LENGTH");
|
||||
|
||||
WriteSchemaVersion(--cur_schema);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user