We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 810d7e4 + ee6d2d5 commit ebb572dCopy full SHA for ebb572d
2 files changed
src/Database/Migrations/v400/MembersTable.php
@@ -1,7 +1,7 @@
1
<?php
2
namespace UserFrosting\Sprinkle\ExtendUser\Database\Migrations\v400;
3
4
-use UserFrosting\System\Bakery\Migration;
+use UserFrosting\Sprinkle\Core\Database\Migration;
5
use Illuminate\Database\Schema\Blueprint;
6
use Illuminate\Database\Schema\Builder;
7
src/Database/Models/Member.php
@@ -113,7 +113,7 @@ public function aux()
113
*/
114
protected function createAuxIfNotExists()
115
{
116
- if ($this->auxType && !count($this->aux)) {
+ if ($this->auxType && is_null($this->aux)) {
117
// Create aux model and set primary key to be the same as the main user's
118
$aux = new $this->auxType;
119
0 commit comments