1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
CREATE TABLE ApplicationEntity
(
Title char(16) not null,
Node char(64) not null,
Port int,
Comment char(80),
Organization char(32) not null
)
\g
ALTER TABLE ApplicationEntity ADD UNIQUE AE_Title_index (Title)
\g
ALTER TABLE ApplicationEntity ADD INDEX AE_Node_index (Node)
\g
CREATE TABLE GroupNames
(
GroupName char(16) not null,
Title char(16) not null
)
\g
ALTER TABLE GroupNames ADD INDEX GN_GroupName_index (GroupName)
\g
ALTER TABLE GroupNames ADD INDEX GN_Title_index (Title)
\g
CREATE TABLE StorageAccess (
Title char(16) not null,
DbKey char(64) not null,
Owner char(16),
GroupName char(16),
Access int not null,
Comment char(80)
)
\g
ALTER TABLE StorageAccess ADD UNIQUE SA_Title_index (Title)
\g
CREATE TABLE StorageControl
(
RequestingTitle char(16) not null,
RespondingTitle char(16) not null,
Medium char(32),
Root char(255) not null,
NextDirectory char(255),
Access char(9)
)
\g
ALTER TABLE StorageControl ADD INDEX IMS_RequestingTitle_index (RequestingTitle)
\g
ALTER TABLE StorageControl ADD INDEX IMS_RespondingTitle_index (RespondingTitle)
\g
CREATE TABLE SecurityMatrix
(
RequestingTitle char(16) not null,
RespondingTitle char(16) not null
)
\g
ALTER TABLE SecurityMatrix ADD INDEX IMS_RequestingTitle_index (RequestingTitle)
\g
ALTER TABLE SecurityMatrix ADD INDEX IMS_RespondingTitle_index (RespondingTitle)
\g
CREATE TABLE FISAccess (
Title char(16) not null,
DbKey char(64) not null,
Owner char(16),
GroupName char(16),
Access int,
Comment char(80)
)
\g
ALTER TABLE FISAccess ADD UNIQUE FA_Title_index (Title)
\g
CREATE TABLE PrintServerCFG
(
RequestingTitle char(16) not null,
RespondingTitle char(16) not null,
GQId int not null
)
\g
CREATE TABLE VideoImageDest
(
RequestingTitle char(16) not null,
ImageType char(6) not null,
RespondingTitle char(16) not null
)
\g
|