id(); $table->string('name'); $table->string('login')->unique(); $table->string('avatar')->nullable(); $table->string('password'); $table->string('api_token')->nullable(); $table->integer('group')->default(1); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }