<?php

use Illuminate\Database\Migrations\Migration;

class AddRememberMeField extends Migration
{
    public function up()
    {
        Schema::table('users', function ($table) {
            $table->string('remember_token', 100)->nullable()->indexed();
        });
    }

    public function down()
    {
        Schema::table('users', function ($table) {
            $table->dropColumn('remember_token');
        });
    }
}