优化 会员页面;

This commit is contained in:
2026-04-12 17:06:38 +08:00
parent 1e64d2d5e2
commit 77c17f87f9
7 changed files with 508 additions and 11 deletions
@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->string('custom_join_effect', 30)->nullable()->after('custom_leave_message')->comment('用户自定义入场特效');
$table->string('custom_leave_effect', 30)->nullable()->after('custom_join_effect')->comment('用户自定义离场特效');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn(['custom_join_effect', 'custom_leave_effect']);
});
}
};