load(); \support\App::loadAllConfig(['route']); use plugin\saiadmin\app\model\water\WaterWithdrawalDemo; use Illuminate\Database\Schema\Blueprint; if (!in_array('--apply', $argv, true)) { echo "Plan: create sa_water_withdrawal_demo for labelled display-only fixtures.\n"; exit; } $model = new WaterWithdrawalDemo(); $schema = $model->getConnection()->getSchemaBuilder(); if (!$schema->hasTable($model->getTable())) { $schema->create($model->getTable(), function (Blueprint $table) { $table->bigIncrements('id'); $table->string('batch', 80)->index(); $table->string('reference', 100)->unique(); $table->string('applicant_name', 100); $table->string('kind_label', 40); $table->string('channel_label', 40); $table->unsignedBigInteger('amount_cents'); $table->string('status', 20)->default('pending'); $table->dateTime('created_at')->index(); $table->comment('仅供展示的提现测试申请,不代表真实余额或打款指令'); }); } echo "Applied: isolated withdrawal demo table ready; no real finance data changed.\n";