datetime('recv_at')->nullable(); }); DB::statement('UPDATE netmail_path SET recv_at=created_at FROM netmails WHERE netmails.id=netmail_path.netmail_id'); Schema::table('echomail_path',function (Blueprint $table) { $table->datetime('recv_at')->nullable(); }); DB::statement('UPDATE echomail_path SET recv_at=created_at FROM echomails WHERE echomails.id=echomail_path.echomail_id'); } /** * Reverse the migrations. */ public function down(): void { // } };