mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
Add segue marker options to dropboxes
This commit is contained in:
@@ -236,6 +236,10 @@ void MainObject::Revert(int schema) const
|
||||
Revert269();
|
||||
break;
|
||||
}
|
||||
|
||||
case 270:
|
||||
Revert270();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -705,6 +709,18 @@ void MainObject::Revert269() const
|
||||
SetVersion(268);
|
||||
}
|
||||
|
||||
void MainObject::Revert270() const
|
||||
{
|
||||
QString sql;
|
||||
QSqlQuery *q;
|
||||
sql=QString("alter table DROPBOXES drop column SEGUE_LEVEL, ")+
|
||||
"drop column SEGUE_LENGTH";
|
||||
q=new QSqlQuery(sql);
|
||||
delete q;
|
||||
|
||||
SetVersion(268);
|
||||
}
|
||||
|
||||
|
||||
int MainObject::GetVersion() const
|
||||
{
|
||||
|
@@ -65,6 +65,7 @@ class MainObject : public QObject
|
||||
void Revert267() const;
|
||||
void Revert268() const;
|
||||
void Revert269() const;
|
||||
void Revert270() const;
|
||||
int GetVersion() const;
|
||||
void SetVersion(int schema) const;
|
||||
int MapSchema(const QString &ver);
|
||||
|
Reference in New Issue
Block a user