2017-08-16 Fred Gleason <fredg@paravelsystems.com>

* Added fixup code in 'rdadmin/createdb.cpp' to recalculate
	voice track counts.
	* Incremented the database version to 266.
This commit is contained in:
Fred Gleason
2017-08-16 12:18:59 -04:00
parent f10f5731b1
commit 040efdd3f0
5 changed files with 53 additions and 1 deletions

View File

@@ -218,6 +218,10 @@ void MainObject::Revert(int schema) const
case 265:
Revert265();
break;
case 266:
Revert266();
break;
}
}
@@ -638,6 +642,14 @@ void MainObject::Revert265() const
}
void MainObject::Revert266() const
{
// Nothing to do here as this is a pseudo-schema change.
SetVersion(265);
}
int MainObject::GetVersion() const
{
QString sql;

View File

@@ -61,6 +61,7 @@ class MainObject : public QObject
void Revert263() const;
void Revert264() const;
void Revert265() const;
void Revert266() const;
int GetVersion() const;
void SetVersion(int schema) const;
int MapSchema(const QString &ver);