osb/database/migrations/2018_05_20_052944_account_add_remember_token.php
2018-05-20 22:53:14 +10:00

33 lines
639 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AccountAddRememberToken extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('ab_account', function (Blueprint $table) {
$table->rememberToken();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('ab_account', function (Blueprint $table) {
$table->dropRememberToken();
});
}
}