1
0
Fork 0
mirror of synced 2024-07-15 19:36:08 +12:00

Update migration V18.php

This commit is contained in:
Damodar Lohani 2023-03-17 07:08:47 +05:45 committed by GitHub
parent 8b79438755
commit 6e4592dab4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,13 +80,7 @@ class V18 extends Migration
/**
* Bump version number.
*/
$document->setAttribute('version', '1.2.0');
break;
case 'projects':
/**
* Bump version number.
*/
$document->setAttribute('passwordHistory', []);
$document->setAttribute('version', '1.3.0');
/**
* Set default passwordHistory
@ -95,7 +89,12 @@ class V18 extends Migration
'passwordHistory' => 0,
'passwordDictionary' => false,
]));
break;
case 'users':
/**
* Default Password history
*/
$document->setAttribute('passwordHistory', []);
break;
}