public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->string('password', 60);
$table->boolean('is_admin')->default(false);
$table->rememberToken();
$table->timestamps();
});
}
/** * Run the migrations */ public function up() { $this->createShipsTable->up(); $this->createTypesTable->up(); $this->createCompaniesTable->up(); $this->createUsersTable->up(); $this->addTypeToVesselTable->up(); $this->addCompanyToVesselTable->up(); $this->addUserToCompanyTable->up(); echo "Migration process completed.\n\n"; }