/usr/share/globus/setup/globus-rls-lrc-sqlite.sql is in globus-rls-server 4.9-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | create table t_lfn (
id integer primary key,
name varchar(500) not null,
ref integer default 0 not null
);
create unique index t_lfn_name on t_lfn(name);
create table t_pfn (
id integer primary key,
name varchar(500) not null,
ref integer default 0 not null
);
create unique index t_pfn_name on t_pfn(name);
create table t_map (
lfn_id integer not null references t_lfn(id),
pfn_id integer not null references t_pfn(id)
);
create unique index pk_map on t_map(lfn_id, pfn_id);
create index t_map_pfn_id on t_map(pfn_id);
create index t_map_lfn_id on t_map(lfn_id);
create table t_rli (
id integer primary key,
flags integer default 0 not null,
name varchar(500) not null
);
create unique index t_rli_name on t_rli(name);
create table t_rlipartition (
rli_id integer not null references t_rli(id),
pattern varchar(500) not null
);
create unique index pk_rlipartition on t_rlipartition(rli_id, pattern);
create index t_rlipartition_rli_id on t_rlipartition(rli_id);
create index t_rlipartition_pattern on t_rlipartition(pattern);
create table t_attribute (
id integer primary key,
name varchar(500) not null,
objtype integer not null,
type integer not null
);
create unique index t_attribute_name_objtype on t_attribute(name, objtype);
create table t_date_attr (
obj_id integer not null,
attr_id integer not null references t_attribute(id),
value timestamp not null
);
create index t_date_attr_attr_id on t_date_attr(attr_id);
create index t_date_attr_value on t_date_attr(value);
create unique index t_date_obj_id_attr_id on t_date_attr(obj_id, attr_id);
create table t_flt_attr (
obj_id integer not null,
attr_id integer not null references t_attribute(id),
value float not null
);
create index t_flt_attr_attr_id on t_flt_attr(attr_id);
create index t_flt_attr_value on t_flt_attr(value);
create unique index t_flt_obj_id_attr_id on t_flt_attr(obj_id, attr_id);
create table t_int_attr (
obj_id integer not null,
attr_id integer not null references t_attribute(id),
value integer not null
);
create index t_int_attr_attr_id on t_int_attr(attr_id);
create index t_int_attr_value on t_int_attr(value);
create unique index t_int_obj_id_attr_id on t_int_attr(obj_id, attr_id);
create table t_str_attr (
obj_id integer not null,
attr_id integer not null references t_attribute(id),
value varchar(500) not null
);
create index t_str_attr_attr_id on t_str_attr(attr_id);
create index t_str_attr_value on t_str_attr(value);
create unique index t_str_obj_id_attr_id on t_str_attr(obj_id, attr_id);
|