Appearance
jurisdb
Tables
| Name | Columns | Comment | Type |
|---|---|---|---|
| public.databasechangelog | 14 | BASE TABLE | |
| public.databasechangeloglock | 4 | BASE TABLE | |
| public.storage_object | 9 | Entidade que representa os objetos de armazenamento | BASE TABLE |
| public.department | 12 | Entidade que representa os departamentos de uma instituição | BASE TABLE |
| public.institution | 11 | Entidade que representa as instituições internas e externas | BASE TABLE |
| public.judicial_region | 3 | Entidade que representa as regiões judiciais | BASE TABLE |
| public.position | 6 | Entidade que representa os cargos | BASE TABLE |
| public.feature | 3 | Entidade que representa as funcionalidades. Ex: Regiões Judiciais | BASE TABLE |
| public.feature_permission | 4 | Entidade que representa as permissões de uma funcionalidade. | BASE TABLE |
| public.role | 5 | Entidade que representa um papel dentro de uma instituição | BASE TABLE |
| public.role_permission | 3 | Entidade que representa o vínculo entre o papel (Role) e as permissões (FeaturePermission) | BASE TABLE |
| public.user | 6 | Entidade que representa os usuários | BASE TABLE |
| public.user_role | 2 | Entidade que representa o vínculo entre o usuário e o perfil (Role) | BASE TABLE |
| public.configuration | 2 | Entidade que representa as configurações globais do sistema | BASE TABLE |
| public.institution_type | 5 | Entidade que representa os tipos de instituição | BASE TABLE |
| public.legal_person | 5 | Entidade que representa os dados de uma pessoa jurídica (coletiva) | BASE TABLE |
| public.natural_person | 7 | Entidade que representa os dados de uma pessoa física (singular) | BASE TABLE |
| public.person | 8 | Entidade base que representa uma pessoa física ou jurídica | BASE TABLE |
| public.position_assignment | 5 | Entidade que representa a atribuição de um cargo a uma pessoa em um departamento específico. | BASE TABLE |
| public.user_registration | 7 | Entidade que representa uma solicitação de acesso para um usuário, contendo uma ou mais propostas de vínculo funcional. | BASE TABLE |
| public.user_registration_position | 5 | Entidade que detalha um vínculo funcional proposto em uma solicitação de acesso. | BASE TABLE |
| public.natural_person_position | 7 | Entidade que detalha um vínculo funcional de uma pessoa. | BASE TABLE |
| public.natural_person_position_role | 2 | Tabela de associação entre vínculos funcionais (NaturalPersonPosition) e papéis (Role) | BASE TABLE |
| public.administrative_province | 6 | Entidade que representa as províncias administrativas | BASE TABLE |
| public.municipality | 6 | Entidade que representa os municipios | BASE TABLE |
| public.user_registration_position_role | 3 | Tabela de associação entre vínculos funcionais (UserRegistrationPosition) e papéis (Role) | BASE TABLE |
| public.notification | 5 | Entidade que representa as notificações | BASE TABLE |
| public.notification_failure_log | 11 | Entidade que representa as notificações que falharam | BASE TABLE |
| public.notification_read_status | 4 | Entidade que representa as notificações que foram lidas | BASE TABLE |
| public.notification_recipient | 4 | Entidade que representa o vínculo entre as notificações e os destinatários (ex: usuário ou setor) | BASE TABLE |
| public.processed_event | 2 | Entidade que representa os processamentos das notificações | BASE TABLE |
| public.attachment_type | 5 | Entidade que representa os tipos de anexo | BASE TABLE |
| public.password_recovery_codes | 8 | Entidade responsável por guardar informações para a gerência de códigos de verificações | BASE TABLE |
| public.special_proceedings_type | 5 | Entidade que representa os tipos de processos especiais | BASE TABLE |
| public.term_use | 8 | Entidade que representa os termos de aceitação | BASE TABLE |
| public.term_use_history | 6 | Entidade que representa os históricos de alterações dos termos de aceitação | BASE TABLE |
| public.term_acceptances | 4 | Entidade que representa a aceitação dos termos | BASE TABLE |
| public.action_specie | 5 | Entidade que representa as Espécies de Acção | BASE TABLE |
| public.matter | 6 | Entidade que representa as Matérias | BASE TABLE |
| public.common_action_form | 5 | Entidade que representa as Formas da Acção Comum | BASE TABLE |
Stored procedures and functions
| Name | ReturnType | Arguments | Type |
|---|---|---|---|
| public.digest | bytea | text, text | FUNCTION |
| public.digest | bytea | bytea, text | FUNCTION |
| public.hmac | bytea | text, text, text | FUNCTION |
| public.hmac | bytea | bytea, bytea, text | FUNCTION |
| public.crypt | text | text, text | FUNCTION |
| public.gen_salt | text | text | FUNCTION |
| public.gen_salt | text | text, integer | FUNCTION |
| public.encrypt | bytea | bytea, bytea, text | FUNCTION |
| public.decrypt | bytea | bytea, bytea, text | FUNCTION |
| public.encrypt_iv | bytea | bytea, bytea, bytea, text | FUNCTION |
| public.decrypt_iv | bytea | bytea, bytea, bytea, text | FUNCTION |
| public.gen_random_bytes | bytea | integer | FUNCTION |
| public.gen_random_uuid | uuid | FUNCTION | |
| public.pgp_sym_encrypt | bytea | text, text | FUNCTION |
| public.pgp_sym_encrypt_bytea | bytea | bytea, text | FUNCTION |
| public.pgp_sym_encrypt | bytea | text, text, text | FUNCTION |
| public.pgp_sym_encrypt_bytea | bytea | bytea, text, text | FUNCTION |
| public.pgp_sym_decrypt | text | bytea, text | FUNCTION |
| public.pgp_sym_decrypt_bytea | bytea | bytea, text | FUNCTION |
| public.pgp_sym_decrypt | text | bytea, text, text | FUNCTION |
| public.pgp_sym_decrypt_bytea | bytea | bytea, text, text | FUNCTION |
| public.pgp_pub_encrypt | bytea | text, bytea | FUNCTION |
| public.pgp_pub_encrypt_bytea | bytea | bytea, bytea | FUNCTION |
| public.pgp_pub_encrypt | bytea | text, bytea, text | FUNCTION |
| public.pgp_pub_encrypt_bytea | bytea | bytea, bytea, text | FUNCTION |
| public.pgp_pub_decrypt | text | bytea, bytea | FUNCTION |
| public.pgp_pub_decrypt_bytea | bytea | bytea, bytea | FUNCTION |
| public.pgp_pub_decrypt | text | bytea, bytea, text | FUNCTION |
| public.pgp_pub_decrypt_bytea | bytea | bytea, bytea, text | FUNCTION |
| public.pgp_pub_decrypt | text | bytea, bytea, text, text | FUNCTION |
| public.pgp_pub_decrypt_bytea | bytea | bytea, bytea, text, text | FUNCTION |
| public.pgp_key_id | text | bytea | FUNCTION |
| public.armor | text | bytea | FUNCTION |
| public.armor | text | bytea, text[], text[] | FUNCTION |
| public.dearmor | bytea | text | FUNCTION |
| public.pgp_armor_headers | record | text, OUT key text, OUT value text | FUNCTION |
Relations
Generated by tbls