create unique index i_hac_mid on hostaccess (mach_id);
+create index i_acl_mt on acl (mach_id, target);
+
create index i_prn_name on printers (name);
create index i_prn_dname on printers (duplexname);
create index i_prn_mach on printers (mach_id);
list_id INTEGER DEFAULT 0 NOT NULL,
member_type VARCHAR(8) DEFAULT CHR(0) NOT NULL,
member_id INTEGER DEFAULT 0 NOT NULL,
+ tag INTEGER DEFAULT 0 NOT NULL,
ref_count SMALLINT DEFAULT 0 NOT NULL,
direct SMALLINT DEFAULT 0 NOT NULL
);
modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL
);
+create table acl
+(
+ mach_id INTEGER DEFAULT 0 NOT NULL,
+ target VARCHAR(128) DEFAULT CHR(0) NOT NULL,
+ kind VARCHAR(16) DEFAULT CHR(0) NOT NULL,
+ list_id INTEGER DEFAULT 0 NOT NULL,
+ modtime DATE DEFAULT SYSDATE NOT NULL,
+ modby INTEGER DEFAULT 0 NOT NULL,
+ modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL
+);
+
create table strings
(
string_id INTEGER DEFAULT 0 NOT NULL,