text('pgp_pubkey')->nullable(); $table->boolean('active')->default(TRUE); $table->dateTime('last_on')->nullable(); }); Schema::table('systems', function (Blueprint $table) { $table->dateTime('last_session')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('users', function (Blueprint $table) { $table->dropColumn(['pgp_pubkey','active','last_on']); }); Schema::table('systems', function (Blueprint $table) { $table->dropColumn(['last_session']); }); } }