Changeset 592 for branches/stable/cgi-bin/ipdb.psql
- Timestamp:
- 05/14/13 17:45:17 (11 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
- Property svn:mergeinfo changed
/trunk merged: 452-455,462,485-486,515
- Property svn:mergeinfo changed
-
branches/stable/cgi-bin/ipdb.psql
r507 r592 47 47 "pool" cidr DEFAULT '255.255.255.255/32' NOT NULL, 48 48 "ip" cidr DEFAULT '255.255.255.255/32' NOT NULL PRIMARY KEY, 49 "oldcustid" character varying(16) DEFAULT '' NOT NULL,50 49 "city" character varying(30) DEFAULT '' NOT NULL, 51 50 "type" character(2) DEFAULT '' NOT NULL, … … 63 62 CREATE TABLE "allocations" ( 64 63 "cidr" cidr DEFAULT '255.255.255.255/32' NOT NULL PRIMARY KEY, 65 "oldcustid" character varying(16) DEFAULT '',66 64 "type" character(2) DEFAULT '', 67 65 "city" character varying(30) DEFAULT '', … … 77 75 ); 78 76 79 CREATE VIEW "searchme" as SELECT allocations.cidr, allocations.custid, allocations."type", allocations.city, allocations.description, allocations.notes, allocations. oldcustid, allocations.circuitid FROM allocations UNION SELECT poolips.ip, poolips.custid, poolips.type, poolips.city, poolips.description, poolips.notes, poolips.oldcustid, poolips.circuitid FROM poolips;77 CREATE VIEW "searchme" as SELECT allocations.cidr, allocations.custid, allocations."type", allocations.city, allocations.description, allocations.notes, allocations.circuitid FROM allocations UNION SELECT poolips.ip, poolips.custid, poolips.type, poolips.city, poolips.description, poolips.notes, poolips.circuitid FROM poolips; 80 78 81 79 CREATE TABLE "alloctypes" (
Note:
See TracChangeset
for help on using the changeset viewer.