id(); $table->string('email')->unique(); $table->string('password'); $table->rememberToken(); $table->timestamps(); }); Schema::create("privileges", function (Blueprint $table) { $table->id(); $table->unsignedBigInteger("user_id"); $table->boolean("admin")->default(false); $table->boolean("createVPN")->default(false); $table->timestamps(); $table->foreign('user_id')->references('id')->on('users'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }