[sr-dev] 'address' table and composite UNIQUE key for 'ip_addr' and 'mask' columns

Iñaki Baz Castillo ibc at aliax.net
Thu Apr 15 11:57:45 CEST 2010


Hi, 'ip_addr' and 'mask' columns (in 'address' table) should be a
composite UNIQUE key as it doesn't make sense to have two entries
sharing both values (the module would always take the first one).
This would requiere a change in the DB schema. Opinions?

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list