Znacznik czasu MySQL w migracji Laravel
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
Clever Corncrake
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
$table->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP'));