diff --git a/database/migrations/2025_08_27_170155_create_order_notifies_table.php b/database/migrations/2025_08_27_170155_create_order_notifies_table.php index 7f18743..e58ca98 100644 --- a/database/migrations/2025_08_27_170155_create_order_notifies_table.php +++ b/database/migrations/2025_08_27_170155_create_order_notifies_table.php @@ -15,7 +15,7 @@ return new class extends Migration $table->id(); $table->unsignedBigInteger('order_id')->index()->comment('订单ID'); $table->tinyInteger('state')->comment('订单状态'); - $table->timestamp('receive_time')->comment('接收通知的时间'); + $table->timestamp('receive_time')->nullable()->comment('接收通知的时间'); $table->text('receive_body')->comment('接收通知的内容'); $table->timestamp('push_time')->nullable()->comment('推给客户的时间'); $table->text('push_body')->nullable()->comment('推给客户的内容');