move versions list to migration class

This commit is contained in:
Torsten Dittmann
2021-07-02 11:09:02 +02:00
parent a6e331390a
commit 7a86109dd9
2 changed files with 14 additions and 8 deletions
+10
View File
@@ -31,6 +31,16 @@ abstract class Migration
*/
protected $projectDB;
/**
* @var array
*/
public static array $versions = [
'0.6.0' => 'V05',
'0.7.0' => 'V06',
'0.8.0' => 'V07',
'0.9.0' => 'V08',
];
/**
* Migration constructor.
*