0
Hello I wanted to increase the number of fields of the authentication form to insert new fields.
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
 * Run the migrations.
 *
 * @return void
 */
public function up()
{
    Schema::create('users', function (Blueprint $table) {
        $table->increments('id');
        $table->string('name');
        $table->string('email')->unique();
        $table->string('password');
        $table->rememberToken();
        $table->timestamps();
    });
}
/**
 * Reverse the migrations.
 *
 * @return void
 */
public function down()
{
    Schema::drop('users');
}
}
I wanted to put more fields to insert via form, both validation and Insert.
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
 * Run the migrations.
 *
 * @return void
 */
public function up()
{
    Schema::create('users', function (Blueprint $table) {
        $table->increments('id');
        $table->string('name');
        $table->string('email')->unique();
        $table->string('password');
        $table->string('senha');
        $table->string('endereco');
        $table->string('cidade');
        $table->string('telefone');
        $table->string('razao_social');
        $table->string('cnpj')->unique();
        $table->rememberToken();
        $table->timestamps();
    });
}
/**
 * Reverse the migrations.
 *
 * @return void
 */
public function down()
{
    Schema::drop('users');
}
}
Can someone help me tell me where these camps are?
There is a however, before or after running the first Migration of
usershas differences in commands!– novic
related: http://answall.com/a/165058/54880
– novic