数据库更新
This commit is contained in:
parent
de745f7c9b
commit
1cd8f46fc7
|
@ -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…
Reference in New Issue
Block a user