mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
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:
@@ -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
|
||||
//
|
||||
|
Reference in New Issue
Block a user