Re:A terrible schema from a clueless programmer
by hoppla on Sunday November 07, 2021 @12:05PM
(#29141218)
I usually store IPv4 as unsigned int, and IPv6 as two 64 bit unsigned ints. But supporting both variants require that I have an a table for each type and a glue table to reference the record in the correct table. Storing simple stuff quickly turns complicated…
[ Parent
| on HN ]