mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Proper renaming of migrations to comply with doctrine migration convention
This commit is contained in:
@@ -31,11 +31,11 @@ class Upgrade39Users implements PreSchemaUpgradeInterface
|
||||
// Sanitize usr table
|
||||
$this->sanitizeUsrTable($em);
|
||||
// Creates User schema
|
||||
$version = $conf->getVersion('user');
|
||||
$version = $conf->getVersion('20131118000009');
|
||||
if (false === $version->isMigrated()) {
|
||||
$version->execute('up');
|
||||
}
|
||||
$version = $conf->getVersion('ftp-credential');
|
||||
$version = $conf->getVersion('20131118000007');
|
||||
if (false === $version->isMigrated()) {
|
||||
$version->execute('up');
|
||||
}
|
||||
@@ -78,11 +78,11 @@ class Upgrade39Users implements PreSchemaUpgradeInterface
|
||||
$this->emptyTables($em);
|
||||
// rollback schema
|
||||
$this->alterTablesDown($em);
|
||||
$version = $conf->getVersion('ftp-credential');
|
||||
$version = $conf->getVersion('20131118000007');
|
||||
if ($version->isMigrated()) {
|
||||
$version->execute('down');
|
||||
}
|
||||
$version = $conf->getVersion('user');
|
||||
$version = $conf->getVersion('20131118000009');
|
||||
if ($version->isMigrated()) {
|
||||
$version->execute('down');
|
||||
}
|
||||
|
@@ -27,14 +27,6 @@ class patch_320alpha1a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_320alpha1b extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -36,14 +36,6 @@ class patch_320alpha2a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_320alpha3a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_320alpha4a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -39,7 +39,7 @@ class patch_320alpha4b extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user', 'feed'];
|
||||
return ['20131118000009', '20131118000001'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -35,14 +35,6 @@ class patch_320alpha5a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_320alpha6a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_320alpha8a extends patchAbstract
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -48,7 +48,7 @@ class patch_360alpha1a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['workzone', 'session'];
|
||||
return ['20131118000002', '20131118000006'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -36,14 +36,6 @@ class patch_360alpha1b extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_360alpha2a extends patchAbstract
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -28,14 +28,6 @@ class patch_360alpha2b extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -49,7 +49,7 @@ class patch_361alpha1a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['workzone'];
|
||||
return ['20131118000002'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -27,14 +27,6 @@ class patch_370alpha1a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -42,7 +42,7 @@ class patch_370alpha3a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['api'];
|
||||
return ['20140324000001'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -43,14 +43,6 @@ class patch_370alpha4a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -43,14 +43,6 @@ class patch_370alpha5a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -43,14 +43,6 @@ class patch_370alpha6a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -53,7 +53,7 @@ class patch_370alpha7a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user', 'lazaret'];
|
||||
return ['20131118000009', '20131118000003'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -46,7 +46,7 @@ class patch_370alpha8a extends patchAbstract
|
||||
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['task'];
|
||||
return ['20131118000004'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -35,14 +35,6 @@ class patch_370alpha9a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -38,14 +38,6 @@ class patch_3715alpha1a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -43,14 +43,6 @@ class patch_371alpha1a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_373alpha1a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_379alpha1a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,6 @@ class patch_380alpha10a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -51,7 +51,7 @@ class patch_380alpha11a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user', 'session'];
|
||||
return ['20131118000009', '20131118000006'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -27,14 +27,6 @@ class patch_380alpha13a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_380alpha14a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,6 @@ class patch_380alpha15a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,6 @@ class patch_380alpha16a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,6 @@ class patch_380alpha17a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -28,14 +28,6 @@ class patch_380alpha18a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_380alpha2a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_380alpha2b extends patchAbstract
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_380alpha3a extends patchAbstract
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -43,14 +43,6 @@ class patch_380alpha3b extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -49,7 +49,7 @@ class patch_380alpha4a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['auth-failure'];
|
||||
return ['20131118000005'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -43,14 +43,6 @@ class patch_380alpha6a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -43,14 +43,6 @@ class patch_380alpha8a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -43,14 +43,6 @@ class patch_380alpha9a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_381alpha1b extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -35,14 +35,6 @@ class patch_381alpha2a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,6 @@ class patch_381alpha3a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,6 @@ class patch_381alpha4a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -36,14 +36,6 @@ class patch_383alpha1a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -41,7 +41,7 @@ class patch_383alpha2a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['workzone'];
|
||||
return ['20131118000002'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -35,14 +35,6 @@ class patch_383alpha3a extends patchAbstract
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,6 @@ class patch_383alpha5a extends patchAbstract
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -27,14 +27,9 @@ class patch_386alpha1a implements patchInterface
|
||||
return $this->release;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns doctrine migrations needed for the patch.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return array();
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -45,14 +45,9 @@ class patch_386alpha2a implements patchInterface
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns doctrine migrations needed for the patch.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return array();
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -45,14 +45,9 @@ class patch_386alpha3a implements patchInterface
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns doctrine migrations needed for the patch.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return array();
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -42,7 +42,7 @@ class patch_386alpha4a implements patchInterface
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return array('user-list');
|
||||
return array('20140219000003');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -44,14 +44,6 @@ class patch_390alpha11a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -46,14 +46,6 @@ class patch_390alpha12a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -52,7 +52,7 @@ class patch_390alpha13a implements patchInterface
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['registration'];
|
||||
return ['20140226000001'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -43,14 +43,6 @@ class patch_390alpha14a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -48,7 +48,7 @@ class patch_390alpha15a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['token'];
|
||||
return ['20140305000001'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -50,7 +50,7 @@ class patch_390alpha16a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['preset'];
|
||||
return ['20140314000002'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -49,7 +49,7 @@ class patch_390alpha17a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['api'];
|
||||
return ['20140324000001'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -48,7 +48,7 @@ class patch_390alpha18a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user', 'lazaret', 'feed', 'session'];
|
||||
return ['20131118000009', '20131118000003', '20131118000001', '20131118000006'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -43,14 +43,6 @@ class patch_390alpha19a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -53,7 +53,7 @@ class patch_390alpha1a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user', 'order'];
|
||||
return ['20131118000009', '20131118000008'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -43,14 +43,6 @@ class patch_390alpha20a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -43,14 +43,6 @@ class patch_390alpha21a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -49,7 +49,7 @@ class patch_390alpha3a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user', 'user-query'];
|
||||
return ['20131118000009', '20131118000010'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -49,7 +49,7 @@ class patch_390alpha4a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user-setting'];
|
||||
return ['20131118000011'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -49,7 +49,7 @@ class patch_390alpha5a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['user-notif-setting'];
|
||||
return ['20131118000012'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -51,7 +51,7 @@ class patch_390alpha6a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['ftp-export'];
|
||||
return ['20131118000013'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -55,7 +55,7 @@ class patch_390alpha7a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['aggregate-token', 'feed'];
|
||||
return ['20140314000001', '20131118000001'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -49,7 +49,7 @@ class patch_390alpha8a extends patchAbstract
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return ['task'];
|
||||
return ['20131118000004'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -43,14 +43,6 @@ class patch_390alpha9a extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -44,14 +44,6 @@ class patch_390alpha9b extends patchAbstract
|
||||
return $this->concern;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -47,4 +47,9 @@ abstract class patchAbstract implements patchInterface
|
||||
->listTableDetails($tableName)
|
||||
->hasColumn($fieldName);
|
||||
}
|
||||
|
||||
public function getDoctrineMigrations()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
@@ -4,69 +4,25 @@ migrations_directory: lib/Alchemy/Phrasea/Setup/DoctrineMigrations
|
||||
table_name: doctrine_migration_versions
|
||||
|
||||
migrations:
|
||||
migration1:
|
||||
version: feed
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\FeedMigration
|
||||
migration2:
|
||||
version: workzone
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\WorkzoneMigration
|
||||
migration3:
|
||||
version: lazaret
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\LazaretMigration
|
||||
migration4:
|
||||
version: task
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\TaskMigration
|
||||
migration5:
|
||||
version: auth-failure
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\AuthFailureMigration
|
||||
migration6:
|
||||
version: session
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\SessionMigration
|
||||
migration7:
|
||||
version: ftp-credential
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\FtpCredentialMigration
|
||||
migration8:
|
||||
version: order
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\OrderMigration
|
||||
migration9:
|
||||
version: user
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\UserMigration
|
||||
migration10:
|
||||
version: user-query
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\UserQueryMigration
|
||||
migration11:
|
||||
version: user-setting
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\UserSettingMigration
|
||||
migration12:
|
||||
version: user-notif-setting
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\UserNotificationSettingMigration
|
||||
migration13:
|
||||
version: ftp-export
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\FtpExportMigration
|
||||
migration14:
|
||||
version: user-field
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\UserFieldMigration
|
||||
migration15:
|
||||
version: user-id-field-delete
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\DeleteUsrIdFieldMigration
|
||||
migration16:
|
||||
version: user-list
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\UserListMigration
|
||||
migration17:
|
||||
version: user-auth-provider
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\UserAuthProviderMigration
|
||||
migration18:
|
||||
version: registration
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\RegistrationMigration
|
||||
migration19:
|
||||
version: token
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\TokenMigration
|
||||
migration20:
|
||||
version: api
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\ApiMigration
|
||||
migration21:
|
||||
version: aggregate-token
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\AggregateTokenMigration
|
||||
migration22:
|
||||
version: preset
|
||||
class: Alchemy\Phrasea\Setup\DoctrineMigrations\PresetMigration
|
||||
- {version: '20131118000001', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\FeedMigration'}
|
||||
- {version: '20131118000002', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\WorkzoneMigration'}
|
||||
- {version: '20131118000003', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\LazaretMigration'}
|
||||
- {version: '20131118000004', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\TaskMigration'}
|
||||
- {version: '20131118000005', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\AuthFailureMigration'}
|
||||
- {version: '20131118000006', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\SessionMigration'}
|
||||
- {version: '20131118000007', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\FtpCredentialMigration'}
|
||||
- {version: '20131118000008', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\OrderMigration'}
|
||||
- {version: '20131118000009', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\UserMigration'}
|
||||
- {version: '20131118000010', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\UserQueryMigration'}
|
||||
- {version: '20131118000011', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\UserSettingMigration'}
|
||||
- {version: '20131118000012', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\UserNotificationSettingMigration'}
|
||||
- {version: '20131118000013', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\FtpExportMigration'}
|
||||
- {version: '20140219000001', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\UserFieldMigration'}
|
||||
- {version: '20140219000002', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\DeleteUsrIdFieldMigration'}
|
||||
- {version: '20140219000003', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\UserListMigration'}
|
||||
- {version: '20140219000004', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\UserAuthProviderMigration'}
|
||||
- {version: '20140226000001', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\RegistrationMigration'}
|
||||
- {version: '20140305000001', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\TokenMigration'}
|
||||
- {version: '20140324000001', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\ApiMigration'}
|
||||
- {version: '20140314000001', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\AggregateTokenMigration'}
|
||||
- {version: '20140314000002', class: 'Alchemy\Phrasea\Setup\DoctrineMigrations\PresetMigration'}
|
||||
|
Reference in New Issue
Block a user