fix(migration): security property
This commit is contained in:
parent
5da6b31edb
commit
100e1f37e9
1 changed files with 2 additions and 2 deletions
|
@ -65,11 +65,11 @@ class V05 extends Migration
|
||||||
->removeAttribute('usersOauth' . \ucfirst($key) . 'Secret');
|
->removeAttribute('usersOauth' . \ucfirst($key) . 'Secret');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$document->setAttribute('security', $document->getAttribute('security') ? true : false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Database::SYSTEM_COLLECTION_PROJECTS:
|
|
||||||
case Database::SYSTEM_COLLECTION_TASKS:
|
case Database::SYSTEM_COLLECTION_TASKS:
|
||||||
$document->setAttribute('security', ($document->getAttribute('security')) ? true : false);
|
$document->setAttribute('security', $document->getAttribute('security') ? true : false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Database::SYSTEM_COLLECTION_USERS:
|
case Database::SYSTEM_COLLECTION_USERS:
|
||||||
|
|
Loading…
Reference in a new issue