master
cody 5 months ago
parent 51611ab85c
commit 8ee775fa04

@ -4,8 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration {
{
/** /**
* Run the migrations. * Run the migrations.
* *
@ -28,6 +27,8 @@ return new class extends Migration
$table->integer('sort')->nullable()->comment('排序'); $table->integer('sort')->nullable()->comment('排序');
// 选项 // 选项
$table->string('options')->nullable()->comment('选项'); $table->string('options')->nullable()->comment('选项');
// 是否支持自行录入
$table->boolean('allow_input')->nullable()->default(0)->comment('是否支持自行录入');
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
}); });

Loading…
Cancel
Save