Appearance
public.notification_failure_log
Description
Entidade que representa as notificações que falharam
Columns
| Name | Type | Default | Nullable | Children | Parents | Comment |
|---|---|---|---|---|---|---|
| id | uuid | false | Chave primária do log de falha | |||
| notification_title | varchar(255) | true | Título da notificação que falhou | |||
| exchange_name | varchar(255) | true | Nome da exchange do RabbitMQ onde ocorreu a falha | |||
| queue_name | varchar(255) | true | Nome da fila que originou a falha | |||
| routing_key | varchar(255) | true | Chave de roteamento da mensagem | |||
| payload | jsonb | false | Conteúdo da mensagem original que falhou (em JSON) | |||
| exception_message | text | true | Mensagem da exceção que causou a falha | |||
| stack_trace | text | true | Stack trace da exceção | |||
| attempt_count | integer | false | Número de tentativas de envio realizadas | |||
| last_attempt_at | timestamp without time zone | false | Timestamp da última tentativa de envio | |||
| is_resolved | boolean | false | Indica se a falha foi resolvida manualmente |
Constraints
| Name | Type | Definition |
|---|---|---|
| pk_notification_failure_log | PRIMARY KEY | PRIMARY KEY (id) |
Indexes
| Name | Definition |
|---|---|
| pk_notification_failure_log | CREATE UNIQUE INDEX pk_notification_failure_log ON public.notification_failure_log USING btree (id) |
Relations
Generated by tbls