Browse Source

nullable

master
yangrz 5 months ago
parent
commit
4f472edc79
  1. 2
      database/migrations/2025_08_27_170155_create_order_notifies_table.php

2
database/migrations/2025_08_27_170155_create_order_notifies_table.php

@ -15,7 +15,7 @@ return new class extends Migration
$table->id(); $table->id();
$table->unsignedBigInteger('order_id')->index()->comment('订单ID'); $table->unsignedBigInteger('order_id')->index()->comment('订单ID');
$table->tinyInteger('state')->comment('订单状态'); $table->tinyInteger('state')->comment('订单状态');
$table->timestamp('receive_time')->comment('接收通知的时间');
$table->timestamp('receive_time')->nullable()->comment('接收通知的时间');
$table->text('receive_body')->comment('接收通知的内容'); $table->text('receive_body')->comment('接收通知的内容');
$table->timestamp('push_time')->nullable()->comment('推给客户的时间'); $table->timestamp('push_time')->nullable()->comment('推给客户的时间');
$table->text('push_body')->nullable()->comment('推给客户的内容'); $table->text('push_body')->nullable()->comment('推给客户的内容');

Loading…
Cancel
Save