Add buckets
This commit is contained in:
parent
b7536d62e2
commit
9827d80f9c
|
@ -169,6 +169,8 @@ class V19 extends Migration
|
||||||
*/
|
*/
|
||||||
protected function migrateBuckets(): void
|
protected function migrateBuckets(): void
|
||||||
{
|
{
|
||||||
|
$this->alterPermissionIndex('buckets');
|
||||||
|
|
||||||
foreach ($this->documentsIterator('buckets') as $bucket) {
|
foreach ($this->documentsIterator('buckets') as $bucket) {
|
||||||
$id = "bucket_{$bucket->getInternalId()}";
|
$id = "bucket_{$bucket->getInternalId()}";
|
||||||
$this->alterPermissionIndex($id);
|
$this->alterPermissionIndex($id);
|
||||||
|
|
Loading…
Reference in a new issue