xf_thread_read auto_increment out of range


Well-known member
There is actually a blocker to correctly supporting ip_id being 64bit (technically any other ids, but most of them aren't written to like ip_id is).

XF\Mvc\Entity\ValueFormatter::applyValueConstraints assumes 32bits integers not 64bit integers

This can be worked around by adding 'max' => \PHP_INT_MAX to the ip_id column definition.
Last edited: