increments('id'); $table->string('name'); $table->string('email')->unique(); $table->string('password')->nullable(); $table->boolean('status')->default(0); $table->integer('role_id')->unsigned(); $table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade'); $table->rememberToken(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } };