summaryrefslogtreecommitdiff
path: root/maintenance/postgres/archives/patch-ipb_address_unique.sql
blob: 9cfc6318c0c7ae4809f87f786ca5e80d1dc2beba (plain)
1
2
DROP INDEX IF EXISTS ipb_address;
CREATE UNIQUE INDEX ipb_address_unique ON ipblocks (ipb_address,ipb_user,ipb_auto,ipb_anon_only);