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