/usr/share/perl5/UR/DataSource/Meta.sqlite3-schema is in libur-perl 0.440-1.
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 | CREATE TABLE IF NOT EXISTS dd_bitmap_index (
data_source varchar NOT NULL,
owner varchar,
table_name varchar NOT NULL,
bitmap_index_name varchar NOT NULL,
PRIMARY KEY (data_source, owner, table_name, bitmap_index_name)
);
CREATE TABLE IF NOT EXISTS dd_fk_constraint (
data_source varchar NOT NULL,
owner varchar,
r_owner varchar,
table_name varchar NOT NULL,
r_table_name varchar NOT NULL,
fk_constraint_name varchar NOT NULL,
last_object_revision timestamp NOT NULL,
PRIMARY KEY(data_source, owner, r_owner, table_name, r_table_name, fk_constraint_name)
);
CREATE TABLE IF NOT EXISTS dd_fk_constraint_column (
fk_constraint_name varchar NOT NULL,
data_source varchar NOT NULL,
owner varchar,
table_name varchar NOT NULL,
r_table_name varchar NOT NULL,
column_name varchar NOT NULL,
r_column_name varchar NOT NULL,
PRIMARY KEY(data_source, owner, table_name, fk_constraint_name, column_name)
);
CREATE TABLE IF NOT EXISTS dd_pk_constraint_column (
data_source varchar NOT NULL,
owner varchar,
table_name varchar NOT NULL,
column_name varchar NOT NULL,
rank integer NOT NULL,
PRIMARY KEY (data_source,owner,table_name,column_name,rank)
);
CREATE TABLE IF NOT EXISTS dd_table (
data_source varchar NOT NULL,
owner varchar,
table_name varchar NOT NULL,
table_type varchar NOT NULL,
er_type varchar NOT NULL,
last_ddl_time timestamp,
last_object_revision timestamp NOT NULL,
remarks varchar,
PRIMARY KEY(data_source, owner, table_name)
);
CREATE TABLE IF NOT EXISTS dd_table_column (
data_source varchar NOT NULL,
owner varchar,
table_name varchar NOT NULL,
column_name varchar NOT NULL,
data_type varchar NOT NULL,
data_length varchar,
nullable varchar NOT NULL,
last_object_revision timestamp NOT NULL,
remarks varchar,
PRIMARY KEY(data_source, owner, table_name, column_name)
);
CREATE TABLE IF NOT EXISTS dd_unique_constraint_column (
data_source varchar NOT NULL,
owner varchar,
table_name varchar NOT NULL,
constraint_name varchar NOT NULL,
column_name varchar NOT NULL,
PRIMARY KEY (data_source,owner,table_name,constraint_name,column_name)
);
|