mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-26 15:23:50 +01:00 
			
		
		
		
	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:
		| @@ -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; | ||||
|   | ||||
| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user