id(); $table->string('name'); $table->string('email')->unique(); $table->string('password'); // User profile $table->foreignId('user_category_id'); $table->foreignId('user_nature_id'); $table->foreignId('user_type_id'); // $table->string('avatar')->nullable(); $table->date('birthday'); // $table->json('document')->nullable(); // $table->json('address'); // $table->string('phone'); // $table->string('discussion'); // $table->integer('donation')->nullable(); // $table->json('profile'); $table->rememberToken(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }