Changeset 286 for branches/stable/cgi-bin/ipdb.psql
- Timestamp:
- 09/23/05 15:54:31 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/ipdb.psql
r268 r286 69 69 "description" character varying(64) DEFAULT '' NOT NULL, 70 70 "circuitid" character varying(128) DEFAULT '' NOT NULL, 71 "privdata" text DEFAULT '' NOT NULL, 71 72 "newcustid" integer, 72 73 CHECK (((available = 'y'::bpchar) OR (available = 'n'::bpchar))) … … 86 87 "maskbits" integer DEFAULT 128, 87 88 "circuitid" character varying(128) DEFAULT '', 89 "privdata" text DEFAULT '' NOT NULL, 88 90 "newcustid" integer 89 91 ); … … 93 95 GRANT ALL on "allocations" to "ipdb"; 94 96 95 CREATE VIEW "searchme" as SELECT allocations.cidr, allocations.custid, allocations."type", allocations.city, allocations.description FROM allocations UNION SELECT poolips.ip, poolips.custid, poolips.type, poolips.city, poolips.descriptionFROM poolips;97 CREATE VIEW "searchme" as SELECT allocations.cidr, allocations.custid, allocations."type", allocations.city, allocations.description, allocations.notes FROM allocations UNION SELECT poolips.ip, poolips.custid, poolips.type, poolips.city, poolips.description, poolips.notes FROM poolips; 96 98 97 99 REVOKE ALL on "searchme" from PUBLIC;
Note:
See TracChangeset
for help on using the changeset viewer.