Changeset 175
- Timestamp:
- 03/01/05 11:49:46 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/ipdb.psql
r92 r175 123 123 -- 124 124 125 CREATE VIEW "searchme" as SELECT allocations.cidr, allocations.custid, allocations."type", allocations.city, allocations.description FROM allocations UNION SELECT poolips.ip, poolips.custid, poolips. ptype, poolips.city, poolips.description FROM poolips;125 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.description FROM poolips; 126 126 127 127 -- … … 169 169 "ip" cidr DEFAULT '255.255.255.255/32' NOT NULL, 170 170 "custid" character varying(16) DEFAULT '' NOT NULL, 171 "city" character varying(30) DEFAULT '', 172 "ptype" character(1) DEFAULT 'c' NOT NULL, 173 "available" character(1) DEFAULT 'y', 174 "notes" text DEFAULT '', 175 "description" character varying(64) DEFAULT '', 176 "circuitid" character varying(128) DEFAULT '', 171 "city" character varying(30) DEFAULT '' NOT NULL, 172 "type" character(2) DEFAULT '' NOT NULL, 173 "available" character(1) DEFAULT 'y' NOT NULL, 174 "notes" text DEFAULT '' NOT NULL, 175 "description" character varying(64) DEFAULT '' NOT NULL, 176 "circuitid" character varying(128) DEFAULT '' NOT NULL, 177 "newcustid" integer, 177 178 CHECK (((available = 'y'::bpchar) OR (available = 'n'::bpchar))), 178 179 Constraint "poolips_pkey" Primary Key ("ip") … … 204 205 "maskbits" integer DEFAULT 128, 205 206 "circuitid" character varying(128) DEFAULT '', 207 "newcustid" integer, 206 208 Constraint "allocations_pkey" Primary Key ("cidr") 207 209 ); … … 228 230 "dispname" character varying(40) DEFAULT '', 229 231 "listorder" integer DEFAULT 0, 232 "def_custid" character varying(16) DEFAULT '', 230 233 Constraint "alloctypes_pkey" Primary Key ("type") 231 234 );
Note:
See TracChangeset
for help on using the changeset viewer.