generated from liutk/owl-admin-base
处理默认值
parent
3c19d5e4e5
commit
023ee3d862
|
|
@ -21,7 +21,7 @@ return new class extends Migration
|
|||
$table->string('away')->comment('客场');
|
||||
$table->string('away_logo')->comment('客场logo');
|
||||
$table->timestamp('game_at')->comment('比赛时间');
|
||||
$table->unsignedTinyInteger('state')->comment('状态:0未发布,1已发布,2已公布');
|
||||
$table->unsignedTinyInteger('state')->default(0)->comment('状态:0未发布,1已发布,2已公布');
|
||||
$table->unsignedInteger('mark')->comment('分数');
|
||||
$table->enum('score', Score::options())->nullable()->comment('比赛结果');
|
||||
$table->timestamps();
|
||||
|
|
|
|||
Loading…
Reference in New Issue