Loading...
api_key
id
api_key_pkey PRIMARY KEY, btree (id)
api_key_user_id_key UNIQUE CONSTRAINT, btree (user_id)
batch_search
batch_search_pkey PRIMARY KEY, btree (uuid)
batch_search_date btree (batch_date)
batch_search_nb_queries btree (nb_queries)
batch_search_project
batch_search_project_unique UNIQUE, btree (search_uuid, prj_id)
batch_search_project_batch_search_uuid_fk FOREIGN KEY (search_uuid) REFERENCES batch_search(uuid)
batch_search_query
batch_search_query_search_id btree (search_uuid)
idx_query_result_batch_unique UNIQUE, btree (search_uuid, query)
batch_search_result
batch_search_result_prj_id btree (prj_id)
batch_search_result_query btree (query)
batch_search_result_uuid btree (search_uuid)
document
document_pkey PRIMARY KEY, btree (id)
document_parent_id btree (parent_id)
document_status btree (status)
document_tag
document_tag_doc_id btree (doc_id)
document_tag_label btree (label)
document_tag_project_id btree (prj_id)
document_user_recommendation
document_user_mark_read_doc_id btree (doc_id)
document_user_mark_read_project_id btree (prj_id)
document_user_mark_read_user_id btree (user_id)
document_user_star
document_user_star_doc_id btree (doc_id)
document_user_star_project_id btree (prj_id)
document_user_star_user_id btree (user_id)
named_entity
named_entity_pkey PRIMARY KEY, btree (id)
named_entity_doc_id btree (doc_id)
note
idx_unique_note_path_project UNIQUE, btree (project_id, path)
note_project btree (project_id)
project
project_pkey PRIMARY KEY, btree (id)
task
task_pkey PRIMARY KEY, btree (id)
task_created_at btree (created_at)
task_group btree (group_id)
user_history
user_history_pkey PRIMARY KEY, btree (id)
idx_user_history_unique UNIQUE, btree (user_id, uri)
user_history_creation_date btree (creation_date)
user_history_project
user_history_project_unique UNIQUE, btree (user_history_id, prj_id)
user_history_project_user_history_id_fk FOREIGN KEY (user_history_id) REFERENCES user_history(id)
user_inventory
user_inventory_pkey PRIMARY KEY, btree (id)
user_policy
idx_user_policy_unique UNIQUE, btree (user_id, prj_id)
user_id
character varying(96)
not null
batch_date
timestamp without time zone
state
character varying(8)
published
integer
0
phrase_matches
fuzziness
file_types
text
paths
error_message
batch_results
error_query
query_template
nb_queries
uri
nb_queries_without_results
batch_search_published btree (published)
batch_search_user_id btree (user_id)
Referenced by:
TABLE batch_search_project CONSTRAINT batch_search_project_batch_search_uuid_fk FOREIGN KEY (search_uuid) REFERENCES batch_search(uuid)
query_results
doc_id
root_id
doc_path
character varying(4096)
creation_date
content_type
character varying(255)
content_length
bigint
prj_id
content
metadata
status
smallint
extraction_level
language
character(2)
extraction_date
parent_id
character varying(256)
charset
character varying(32)
ner_mask
'1970-01-01 00:00:00'::timestamp without time zone
idx_document_tag_unique UNIQUE, btree (doc_id, label)
now()
idx_document_mark_read_unique UNIQUE, btree (doc_id, user_id, prj_id)
idx_document_star_unique UNIQUE, btree (doc_id, user_id, prj_id)
extractor
category
extractor_language
hidden
boolean
variant
character varying(16)
blur_sensitive_media
false
label
publisher_name
''::character varying
maintainer_name
source_url
character varying(2048)
logo_url
update_date
description
group_id
character varying(128)
progress
double precision
created_at
completed_at
retries_left
max_retries
args
result
error
task_name btree (name)
task_state btree (state)
task_user_id btree (user_id)
type
name
user_history_type btree (type)
user_history_user_id btree (user_id)
TABLE user_history_project CONSTRAINT user_history_project_user_history_id_fk FOREIGN KEY (user_history_id) REFERENCES user_history(id)
provider
details
'{}'::text
write
admin
uuid
character(36)
search_uuid
query_number
query
doc_nb
path
project_id
character varying(64)
mention
offsets
allow_from_mask
generated by default as identity
modification_date
user_history_id
email
read