完成友链模块 #12

Merged
XiaoLFeng merged 25 commits from feature into master 2023-07-21 14:01:32 +08:00
Showing only changes of commit fd9cb5f520 - Show all commits

View File

@ -21,6 +21,7 @@ public function up()
Schema::table('users', function (Blueprint $table) {
$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');
$table->boolean('admin')->default(0)->after('email')->comment('判别用户是否是管理员');
});
}