id(); $table->string('name'); $table->string('phone')->unique(); $table->string('email')->unique(); $table->string('password')->default(bcrypt('12345678')); $table->boolean('status')->default(true); // true(active) false(not active) $table->foreignId('role_id')->constrained(); $table->timestamp('email_verified_at')->nullable(); $table->rememberToken(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } };