feature #1
@ -23,6 +23,7 @@ public function up()
|
||||
$table->string('username',40);
|
||||
$table->string('email',100)->unique();
|
||||
$table->string('password',255);
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
@ -19,8 +19,8 @@ class UpdateUsersTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->rememberToken()->after('password');
|
||||
$table->integer('linkId')->unique()->nullable()->default(null)->after('remember_token');
|
||||
$table->string('icon')->default('https://api.x-lf.cn/avatar/?uid=1')->after('remember_token');
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user