Loading app/Models/User.php +3 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,9 @@ class User extends Authenticatable */ protected $fillable = [ 'name', 'email', //'email', 'username', 'active', 'password', ]; Loading database/migrations/0001_01_01_000000_create_users_table.php +2 −1 Original line number Diff line number Diff line Loading @@ -14,9 +14,10 @@ public function up(): void Schema::create('users', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('email')->unique(); $table->string('username')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $table->boolean('active')->default(0); $table->rememberToken(); $table->foreignId('current_team_id')->nullable(); $table->string('profile_photo_path', 2048)->nullable(); Loading Loading
app/Models/User.php +3 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,9 @@ class User extends Authenticatable */ protected $fillable = [ 'name', 'email', //'email', 'username', 'active', 'password', ]; Loading
database/migrations/0001_01_01_000000_create_users_table.php +2 −1 Original line number Diff line number Diff line Loading @@ -14,9 +14,10 @@ public function up(): void Schema::create('users', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('email')->unique(); $table->string('username')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $table->boolean('active')->default(0); $table->rememberToken(); $table->foreignId('current_team_id')->nullable(); $table->string('profile_photo_path', 2048)->nullable(); Loading