Código PHP:
public function up()
{
Schema::create('user', function (Blueprint $table) {
// Auto-incrementing UNSIGNED INTEGER (primary key) equivalent column.
$table->increments('id_user')->unique();
$table->enum('level', ['E', 'A'])
->default('E');
$table->string('email')
->unique();
$table->string('password');
$table->char('user_name', 100)
->unique();
$table->char('user_address', 100)
->unique();
$table->timestamps('added_on');
$table->rememberToken();
});
}
Un saludo!!