fix: [migrations] user org further fixes

pull/92/head
iglocska 2021-11-24 23:39:27 +01:00
parent 94457d3b97
commit b009191aa6
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ final class UserOrg extends AbstractMigration
'signed' => false,
'length' => 10
])
->addIndex('org_id')
->addIndex('organisation_id')
->update();
$q1 = $this->getQueryBuilder();
$org_id = $q1->select(['min(id)'])->from('organisations')->execute()->fetchAll()[0][0];