Changeset 316
- Timestamp:
- 03/31/06 15:42:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/ipdb.psql
r285 r316 19 19 20 20 REVOKE ALL on "customers" from PUBLIC; 21 GRANT ALL on "customers" to "kdeugau";22 21 GRANT ALL on "customers" to "ipdb"; 23 22 … … 28 27 29 28 REVOKE ALL on "masterblocks" from PUBLIC; 30 GRANT ALL on "masterblocks" to "kdeugau";31 29 GRANT ALL on "masterblocks" to "ipdb"; 32 30 … … 39 37 40 38 REVOKE ALL on "routed" from PUBLIC; 41 GRANT ALL on "routed" to "kdeugau";42 39 GRANT ALL on "routed" to "ipdb"; 40 GRANT SELECT on "routed" to "ipdb"; 43 41 44 42 CREATE TABLE "temp" ( … … 47 45 48 46 REVOKE ALL on "temp" from PUBLIC; 49 GRANT ALL on "temp" to "kdeugau";50 47 GRANT ALL on "temp" to "ipdb"; 51 48 … … 58 55 59 56 REVOKE ALL on "freeblocks" from PUBLIC; 60 GRANT ALL on "freeblocks" to "kdeugau";61 57 GRANT ALL on "freeblocks" to "ipdb"; 62 58 … … 72 68 "circuitid" character varying(128) DEFAULT '' NOT NULL, 73 69 "privdata" text DEFAULT '' NOT NULL, 74 "newcustid" integer,70 "newcustid" character varying(16) DEFAULT '', 75 71 "createstamp" timestamp DEFAULT now(), 76 72 "modifystamp" timestamp DEFAULT now(), … … 79 75 80 76 REVOKE ALL on "poolips" from PUBLIC; 81 GRANT ALL on "poolips" to "kdeugau";82 77 GRANT ALL on "poolips" to "ipdb"; 83 78 … … 94 89 "modifystamp" timestamp DEFAULT now(), 95 90 "privdata" text DEFAULT '' NOT NULL, 96 "newcustid" integer 91 "newcustid" character varying(16) DEFAULT '', 92 swip character(1) DEFAULT 'n' 97 93 ); 98 94 99 95 REVOKE ALL on "allocations" from PUBLIC; 100 GRANT ALL on "allocations" to "kdeugau";101 96 GRANT ALL on "allocations" to "ipdb"; 102 97 … … 104 99 105 100 REVOKE ALL on "searchme" from PUBLIC; 106 GRANT ALL on "searchme" to "kdeugau";107 101 GRANT ALL on "searchme" to "ipdb"; 108 102 … … 114 108 "def_custid" character varying(16) DEFAULT '' 115 109 ); 116 117 REVOKE ALL on "alloctypes" from PUBLIC;118 GRANT ALL on "alloctypes" to "kdeugau";119 GRANT ALL on "alloctypes" to "ipdb";120 121 CREATE TABLE "cities" (122 "id" serial NOT NULL PRIMARY KEY,123 "city" character varying(30) DEFAULT '' NOT NULL,124 "routing" character(1) DEFAULT 'n' NOT NULL125 );126 127 REVOKE ALL on "cities" from PUBLIC;128 GRANT ALL on "cities" to "kdeugau";129 GRANT ALL on "cities" to "ipdb";130 131 CREATE TABLE "alloctypes" (132 "type" character(2) DEFAULT '' NOT NULL,133 "listname" character varying(40) DEFAULT '',134 "dispname" character varying(40) DEFAULT '',135 "listorder" integer DEFAULT 0,136 "def_custid" character varying(16) DEFAULT '',137 Constraint "alloctypes_pkey" Primary Key ("type")138 );139 140 REVOKE ALL on "alloctypes" from PUBLIC;141 GRANT ALL on "alloctypes" to "kdeugau";142 GRANT ALL on "alloctypes" to "ipdb";143 110 144 111 COPY "alloctypes" FROM stdin; … … 167 134 wr WAN block WAN block 220 6750400 168 135 \. 136 137 REVOKE ALL on "alloctypes" from PUBLIC; 138 GRANT ALL on "alloctypes" to "ipdb"; 139 140 CREATE TABLE "cities" ( 141 "id" serial NOT NULL PRIMARY KEY, 142 "city" character varying(30) DEFAULT '' NOT NULL, 143 "routing" character(1) DEFAULT 'n' NOT NULL 144 ); 145 146 REVOKE ALL on "cities" from PUBLIC; 147 GRANT ALL on "cities" to "ipdb"; 169 148 170 149 --
Note:
See TracChangeset
for help on using the changeset viewer.