Commit 798e0426 authored by Alfonso Rafael Solis Rangel's avatar Alfonso Rafael Solis Rangel
Browse files

Ajuste de modelo para agregar usuario y si esta activo

parent 9eb3cdef
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,7 +27,9 @@ class User extends Authenticatable
     */
    protected $fillable = [
        'name',
        'email',
        //'email',
        'username',
        'active',
        'password',
    ];

+2 −1
Original line number Diff line number Diff line
@@ -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();