CREATE TABLE organizations ( id SERIAL NOT NULL PRIMARY KEY, network_range VARCHAR(18) NOT NULL, -- https://docs.defined.net/guides/choosing-a-cidr/ org_name VARCHAR(258) NOT NULL ); CREATE INDEX idx_organizations_name ON organizations(org_name);