diff --git a/config/Migrations/20211123152707_user_org.php b/config/Migrations/20211123152707_user_org.php index 5543e98..0c5bc7a 100644 --- a/config/Migrations/20211123152707_user_org.php +++ b/config/Migrations/20211123152707_user_org.php @@ -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];