Update migration V18.php
This commit is contained in:
parent
8b79438755
commit
6e4592dab4
1 changed files with 7 additions and 8 deletions
|
@ -80,13 +80,7 @@ class V18 extends Migration
|
||||||
/**
|
/**
|
||||||
* Bump version number.
|
* Bump version number.
|
||||||
*/
|
*/
|
||||||
$document->setAttribute('version', '1.2.0');
|
$document->setAttribute('version', '1.3.0');
|
||||||
break;
|
|
||||||
case 'projects':
|
|
||||||
/**
|
|
||||||
* Bump version number.
|
|
||||||
*/
|
|
||||||
$document->setAttribute('passwordHistory', []);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set default passwordHistory
|
* Set default passwordHistory
|
||||||
|
@ -95,7 +89,12 @@ class V18 extends Migration
|
||||||
'passwordHistory' => 0,
|
'passwordHistory' => 0,
|
||||||
'passwordDictionary' => false,
|
'passwordDictionary' => false,
|
||||||
]));
|
]));
|
||||||
|
break;
|
||||||
|
case 'users':
|
||||||
|
/**
|
||||||
|
* Default Password history
|
||||||
|
*/
|
||||||
|
$document->setAttribute('passwordHistory', []);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue