1 | create table users |
---|
2 | ( |
---|
3 | login VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
4 | users_id INTEGER DEFAULT 0 NOT NULL, |
---|
5 | unix_uid SMALLINT DEFAULT 0 NOT NULL, |
---|
6 | shell VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
7 | winconsoleshell VARCHAR(32) DEFAULT 'cmd' NOT NULL, |
---|
8 | last VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
9 | first VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
10 | middle VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
11 | status SMALLINT DEFAULT 0 NOT NULL, |
---|
12 | clearid VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
13 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
14 | comments INTEGER DEFAULT 0 NOT NULL, |
---|
15 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
16 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
17 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
18 | fullname VARCHAR(92) DEFAULT CHR(0) NOT NULL, |
---|
19 | nickname VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
20 | home_addr VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
21 | home_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
22 | office_addr VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
23 | office_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
24 | department VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
25 | affiliation VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
26 | fmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
27 | fmodby INTEGER DEFAULT 0 NOT NULL, |
---|
28 | fmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
29 | potype VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
30 | pop_id INTEGER DEFAULT 0 NOT NULL, |
---|
31 | imap_id INTEGER DEFAULT 0 NOT NULL, |
---|
32 | box_id INTEGER DEFAULT 0 NOT NULL, |
---|
33 | exchange_id INTEGER DEFAULT 0 NOT NULL, |
---|
34 | pmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
35 | pmodby INTEGER DEFAULT 0 NOT NULL, |
---|
36 | pmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
37 | xname VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
38 | xdept VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
39 | xtitle VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
40 | xaddress VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
41 | xphone1 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
42 | xphone2 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
43 | xmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
44 | sigdate INTEGER DEFAULT 0 NOT NULL, |
---|
45 | sigwho INTEGER DEFAULT 0 NOT NULL, |
---|
46 | signature VARCHAR(68) DEFAULT CHR(0) NOT NULL, |
---|
47 | secure INTEGER DEFAULT 0 NOT NULL, |
---|
48 | pin VARCHAR(20) DEFAULT CHR(0) NOT NULL, |
---|
49 | reservations VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
50 | flag INTEGER DEFAULT 0 NOT NULL, |
---|
51 | created DATE DEFAULT SYSDATE NOT NULL, |
---|
52 | creator INTEGER DEFAULT 0 NOT NULL, |
---|
53 | winhomedir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
54 | winprofiledir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
55 | sponsor_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
56 | sponsor_id INTEGER DEFAULT 0 NOT NULL, |
---|
57 | expiration VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
58 | alternate_email VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
59 | alternate_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
60 | affiliation_basic VARCHAR(10) DEFAULT 'affiliate' NOT NULL, |
---|
61 | affiliation_detailed VARCHAR(40) DEFAULT 'MIT Affiliate' NOT NULL, |
---|
62 | last_krb_pwd_change DATE DEFAULT SYSDATE NOT NULL |
---|
63 | ); |
---|
64 | |
---|
65 | create table krbmap |
---|
66 | ( |
---|
67 | users_id INTEGER DEFAULT 0 NOT NULL, |
---|
68 | string_id INTEGER DEFAULT 0 NOT NULL |
---|
69 | ); |
---|
70 | |
---|
71 | create table machine |
---|
72 | ( |
---|
73 | name VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
74 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
75 | vendor VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
76 | model VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
77 | os VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
78 | location VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
79 | contact VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
80 | billing_contact VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
81 | account_number VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
82 | use INTEGER DEFAULT 0 NOT NULL, |
---|
83 | status INTEGER DEFAULT 0 NOT NULL, |
---|
84 | statuschange DATE DEFAULT SYSDATE NOT NULL, |
---|
85 | snet_id INTEGER DEFAULT 0 NOT NULL, |
---|
86 | address VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
87 | unusedhwaddr VARCHAR(12) DEFAULT CHR(0) NOT NULL, |
---|
88 | owner_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
89 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
90 | acomment INTEGER DEFAULT 0 NOT NULL, |
---|
91 | ocomment INTEGER DEFAULT 0 NOT NULL, |
---|
92 | created DATE DEFAULT SYSDATE NOT NULL, |
---|
93 | creator INTEGER DEFAULT 0 NOT NULL, |
---|
94 | inuse DATE DEFAULT SYSDATE NOT NULL, |
---|
95 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
96 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
97 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
98 | ttl INTEGER DEFAULT 1800 NOT NULL |
---|
99 | ); |
---|
100 | |
---|
101 | create table hostalias |
---|
102 | ( |
---|
103 | name VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
104 | mach_id INTEGER DEFAULT 0 NOT NULL |
---|
105 | ); |
---|
106 | |
---|
107 | create table subnet |
---|
108 | ( |
---|
109 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
110 | snet_id INTEGER DEFAULT 0 NOT NULL, |
---|
111 | description VARCHAR(48) DEFAULT CHR(0) NOT NULL, |
---|
112 | status INTEGER DEFAULT 0 NOT NULL, |
---|
113 | contact VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
114 | account_number VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
115 | saddr INTEGER DEFAULT 0 NOT NULL, |
---|
116 | mask INTEGER DEFAULT 0 NOT NULL, |
---|
117 | low INTEGER DEFAULT 0 NOT NULL, |
---|
118 | high INTEGER DEFAULT 0 NOT NULL, |
---|
119 | prefix VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
120 | owner_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
121 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
122 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
123 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
124 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
125 | ); |
---|
126 | |
---|
127 | create table clusters |
---|
128 | ( |
---|
129 | name VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
130 | clu_id INTEGER DEFAULT 0 NOT NULL, |
---|
131 | description VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
132 | location VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
133 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
134 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
135 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
136 | ); |
---|
137 | |
---|
138 | create table mcmap |
---|
139 | ( |
---|
140 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
141 | clu_id INTEGER DEFAULT 0 NOT NULL |
---|
142 | ); |
---|
143 | |
---|
144 | create table svc |
---|
145 | ( |
---|
146 | clu_id INTEGER DEFAULT 0 NOT NULL, |
---|
147 | serv_label VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
148 | serv_cluster VARCHAR(128) DEFAULT CHR(0) NOT NULL |
---|
149 | ); |
---|
150 | |
---|
151 | create table list |
---|
152 | ( |
---|
153 | name VARCHAR(56) DEFAULT CHR(0) NOT NULL, |
---|
154 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
155 | active INTEGER DEFAULT 0 NOT NULL, |
---|
156 | publicflg INTEGER DEFAULT 0 NOT NULL, |
---|
157 | hidden INTEGER DEFAULT 0 NOT NULL, |
---|
158 | maillist INTEGER DEFAULT 0 NOT NULL, |
---|
159 | grouplist INTEGER DEFAULT 0 NOT NULL, |
---|
160 | gid SMALLINT DEFAULT 0 NOT NULL, |
---|
161 | nfsgroup INTEGER DEFAULT 0 NOT NULL, |
---|
162 | mailman INTEGER DEFAULT 0 NOT NULL, |
---|
163 | mailman_id INTEGER DEFAULT 0 NOT NULL, |
---|
164 | description VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
165 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
166 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
167 | memacl_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
168 | memacl_id INTEGER DEFAULT 0 NOT NULL, |
---|
169 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
170 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
171 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
172 | ); |
---|
173 | |
---|
174 | create table imembers |
---|
175 | ( |
---|
176 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
177 | member_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
178 | member_id INTEGER DEFAULT 0 NOT NULL, |
---|
179 | tag INTEGER DEFAULT 0 NOT NULL, |
---|
180 | ref_count SMALLINT DEFAULT 0 NOT NULL, |
---|
181 | direct SMALLINT DEFAULT 0 NOT NULL |
---|
182 | ); |
---|
183 | |
---|
184 | create table servers |
---|
185 | ( |
---|
186 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
187 | update_int INTEGER DEFAULT 0 NOT NULL, |
---|
188 | target_file VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
189 | script VARCHAR(128) DEFAULT CHR(0) NOT NULL, |
---|
190 | dfgen INTEGER DEFAULT 0 NOT NULL, |
---|
191 | dfcheck INTEGER DEFAULT 0 NOT NULL, |
---|
192 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
193 | enable INTEGER DEFAULT 0 NOT NULL, |
---|
194 | inprogress INTEGER DEFAULT 0 NOT NULL, |
---|
195 | harderror INTEGER DEFAULT 0 NOT NULL, |
---|
196 | errmsg VARCHAR(80) DEFAULT CHR(0) NOT NULL, |
---|
197 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
198 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
199 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
200 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
201 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
202 | ); |
---|
203 | |
---|
204 | create table serverhosts |
---|
205 | ( |
---|
206 | service VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
207 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
208 | success INTEGER DEFAULT 0 NOT NULL, |
---|
209 | enable INTEGER DEFAULT 0 NOT NULL, |
---|
210 | override INTEGER DEFAULT 0 NOT NULL, |
---|
211 | inprogress INTEGER DEFAULT 0 NOT NULL, |
---|
212 | hosterror INTEGER DEFAULT 0 NOT NULL, |
---|
213 | hosterrmsg VARCHAR(80) DEFAULT CHR(0) NOT NULL, |
---|
214 | ltt INTEGER DEFAULT 0 NOT NULL, |
---|
215 | lts INTEGER DEFAULT 0 NOT NULL, |
---|
216 | value1 INTEGER DEFAULT 0 NOT NULL, |
---|
217 | value2 INTEGER DEFAULT 0 NOT NULL, |
---|
218 | value3 VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
219 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
220 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
221 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
222 | ); |
---|
223 | |
---|
224 | create table filesys |
---|
225 | ( |
---|
226 | filsys_id INTEGER DEFAULT 0 NOT NULL, |
---|
227 | phys_id INTEGER DEFAULT 0 NOT NULL, |
---|
228 | label VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
229 | fs_order INTEGER DEFAULT 0 NOT NULL, |
---|
230 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
231 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
232 | name VARCHAR(80) DEFAULT CHR(0) NOT NULL, |
---|
233 | mount VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
234 | rwaccess CHAR(1) DEFAULT CHR(0) NOT NULL, |
---|
235 | comments VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
236 | owner INTEGER DEFAULT 0 NOT NULL, |
---|
237 | owners INTEGER DEFAULT 0 NOT NULL, |
---|
238 | createflg INTEGER DEFAULT 0 NOT NULL, |
---|
239 | lockertype VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
240 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
241 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
242 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
243 | ); |
---|
244 | |
---|
245 | create table fsgroup |
---|
246 | ( |
---|
247 | group_id INTEGER DEFAULT 0 NOT NULL, |
---|
248 | filsys_id INTEGER DEFAULT 0 NOT NULL, |
---|
249 | key VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
250 | ); |
---|
251 | |
---|
252 | create table nfsphys |
---|
253 | ( |
---|
254 | nfsphys_id INTEGER DEFAULT 0 NOT NULL, |
---|
255 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
256 | device VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
257 | dir VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
258 | status SMALLINT DEFAULT 0 NOT NULL, |
---|
259 | allocated INTEGER DEFAULT 0 NOT NULL, |
---|
260 | partsize INTEGER DEFAULT 0 NOT NULL, |
---|
261 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
262 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
263 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
264 | ); |
---|
265 | |
---|
266 | create table quota |
---|
267 | ( |
---|
268 | filsys_id INTEGER DEFAULT 0 NOT NULL, |
---|
269 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
270 | entity_id INTEGER DEFAULT 0 NOT NULL, |
---|
271 | phys_id INTEGER DEFAULT 0 NOT NULL, |
---|
272 | quota INTEGER DEFAULT 0 NOT NULL, |
---|
273 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
274 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
275 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
276 | ); |
---|
277 | |
---|
278 | create table zephyr |
---|
279 | ( |
---|
280 | class VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
281 | xmt_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
282 | xmt_id INTEGER DEFAULT 0 NOT NULL, |
---|
283 | sub_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
284 | sub_id INTEGER DEFAULT 0 NOT NULL, |
---|
285 | iws_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
286 | iws_id INTEGER DEFAULT 0 NOT NULL, |
---|
287 | iui_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
288 | iui_id INTEGER DEFAULT 0 NOT NULL, |
---|
289 | owner_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
290 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
291 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
292 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
293 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
294 | ); |
---|
295 | |
---|
296 | create table hostaccess |
---|
297 | ( |
---|
298 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
299 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
300 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
301 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
302 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
303 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
304 | ); |
---|
305 | |
---|
306 | create table acl |
---|
307 | ( |
---|
308 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
309 | target VARCHAR(128) DEFAULT CHR(0) NOT NULL, |
---|
310 | kind VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
311 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
312 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
313 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
314 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
315 | ); |
---|
316 | |
---|
317 | create table strings |
---|
318 | ( |
---|
319 | string_id INTEGER DEFAULT 0 NOT NULL, |
---|
320 | string VARCHAR(128) DEFAULT CHR(0) NOT NULL |
---|
321 | ); |
---|
322 | |
---|
323 | create table services |
---|
324 | ( |
---|
325 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
326 | protocol VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
327 | port SMALLINT DEFAULT 0 NOT NULL, |
---|
328 | description VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
329 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
330 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
331 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
332 | ); |
---|
333 | |
---|
334 | create table printers |
---|
335 | ( |
---|
336 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
337 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
338 | hwtype VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
339 | duplexname VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
340 | duplexdefault INTEGER DEFAULT 0 NOT NULL, |
---|
341 | holddefault INTEGER DEFAULT 0 NOT NULL, |
---|
342 | status INTEGER DEFAULT 0 NOT NULL, |
---|
343 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
344 | loghost INTEGER DEFAULT 0 NOT NULL, |
---|
345 | rm INTEGER DEFAULT 0 NOT NULL, |
---|
346 | rp VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
347 | rq INTEGER DEFAULT 0 NOT NULL, |
---|
348 | ka SMALLINT DEFAULT 0 NOT NULL, |
---|
349 | pc SMALLINT DEFAULT 0 NOT NULL, |
---|
350 | mc SMALLINT DEFAULT 0 NOT NULL, |
---|
351 | ac INTEGER DEFAULT 0 NOT NULL, |
---|
352 | lpc_acl INTEGER DEFAULT 0 NOT NULL, |
---|
353 | report_list INTEGER DEFAULT 0 NOT NULL, |
---|
354 | banner INTEGER DEFAULT 0 NOT NULL, |
---|
355 | location VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
356 | contact VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
357 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
358 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
359 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
360 | ); |
---|
361 | |
---|
362 | create table printservers |
---|
363 | ( |
---|
364 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
365 | kind VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
366 | printer_types INTEGER DEFAULT 0 NOT NULL, |
---|
367 | owner_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
368 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
369 | lpc_acl INTEGER DEFAULT 0 NOT NULL, |
---|
370 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
371 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
372 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
373 | ); |
---|
374 | |
---|
375 | create table capacls |
---|
376 | ( |
---|
377 | capability VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
378 | tag VARCHAR(4) DEFAULT CHR(0) NOT NULL, |
---|
379 | list_id INTEGER DEFAULT 0 NOT NULL |
---|
380 | ); |
---|
381 | |
---|
382 | create table alias |
---|
383 | ( |
---|
384 | name VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
385 | type VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
386 | trans VARCHAR(128) DEFAULT CHR(0) NOT NULL |
---|
387 | ); |
---|
388 | |
---|
389 | create table numvalues |
---|
390 | ( |
---|
391 | name VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
392 | value INTEGER DEFAULT 0 NOT NULL |
---|
393 | ); |
---|
394 | |
---|
395 | create table tblstats |
---|
396 | ( |
---|
397 | table_name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
398 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
399 | appends INTEGER DEFAULT 0 NOT NULL, |
---|
400 | updates INTEGER DEFAULT 0 NOT NULL, |
---|
401 | deletes INTEGER DEFAULT 0 NOT NULL |
---|
402 | ); |
---|
403 | |
---|
404 | create table incremental |
---|
405 | ( |
---|
406 | table_name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
407 | service VARCHAR(16) DEFAULT CHR(0) NOT NULL |
---|
408 | ); |
---|
409 | |
---|
410 | create table containers |
---|
411 | ( |
---|
412 | name VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
413 | cnt_id INTEGER DEFAULT 0 NOT NULL, |
---|
414 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
415 | publicflg INTEGER DEFAULT 0 NOT NULL, |
---|
416 | description VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
417 | location VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
418 | contact VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
419 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
420 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
421 | memacl_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
422 | memacl_id INTEGER DEFAULT 0 NOT NULL, |
---|
423 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
424 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
425 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
426 | ); |
---|
427 | |
---|
428 | create table mcntmap |
---|
429 | ( |
---|
430 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
431 | cnt_id INTEGER DEFAULT 0 NOT NULL |
---|
432 | ); |
---|
433 | |
---|
434 | create table accountnumbers |
---|
435 | ( |
---|
436 | account_number VARCHAR(10) DEFAULT CHR(0) NOT NULL |
---|
437 | ); |
---|
438 | |
---|
439 | create table userhistory |
---|
440 | ( |
---|
441 | login VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
442 | users_id INTEGER DEFAULT 0 NOT NULL, |
---|
443 | unix_uid SMALLINT DEFAULT 0 NOT NULL, |
---|
444 | shell VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
445 | winconsoleshell VARCHAR(32) DEFAULT 'cmd' NOT NULL, |
---|
446 | last VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
447 | first VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
448 | middle VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
449 | status SMALLINT DEFAULT 0 NOT NULL, |
---|
450 | clearid VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
451 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
452 | comments INTEGER DEFAULT 0 NOT NULL, |
---|
453 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
454 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
455 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
456 | fullname VARCHAR(92) DEFAULT CHR(0) NOT NULL, |
---|
457 | nickname VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
458 | home_addr VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
459 | home_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
460 | office_addr VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
461 | office_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
462 | department VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
463 | affiliation VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
464 | fmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
465 | fmodby INTEGER DEFAULT 0 NOT NULL, |
---|
466 | fmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
467 | potype VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
468 | pop_id INTEGER DEFAULT 0 NOT NULL, |
---|
469 | imap_id INTEGER DEFAULT 0 NOT NULL, |
---|
470 | box_id INTEGER DEFAULT 0 NOT NULL, |
---|
471 | pmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
472 | pmodby INTEGER DEFAULT 0 NOT NULL, |
---|
473 | pmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
474 | xname VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
475 | xdept VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
476 | xtitle VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
477 | xaddress VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
478 | xphone1 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
479 | xphone2 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
480 | xmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
481 | sigdate INTEGER DEFAULT 0 NOT NULL, |
---|
482 | sigwho INTEGER DEFAULT 0 NOT NULL, |
---|
483 | signature VARCHAR(68) DEFAULT CHR(0) NOT NULL, |
---|
484 | secure INTEGER DEFAULT 0 NOT NULL, |
---|
485 | pin VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
486 | reservations VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
487 | flag INTEGER DEFAULT 0 NOT NULL, |
---|
488 | created DATE DEFAULT SYSDATE NOT NULL, |
---|
489 | creator INTEGER DEFAULT 0 NOT NULL, |
---|
490 | winhomedir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
491 | winprofiledir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
492 | purged DATE DEFAULT SYSDATE NOT NULL |
---|
493 | ); |
---|
494 | |
---|
495 | create table hwaddrmap |
---|
496 | ( |
---|
497 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
498 | hwaddr VARCHAR(12) DEFAULT CHR(0) NOT NULL |
---|
499 | ); |
---|