openapi.endpoint_access_attempt_log

Cascading Deletes: Deleting rows from this table will cascade to: actor.usr, openapi.endpoint.

Columns

Column Type Nullable Default Notes

request_id PK

text

No

attempt_time

timestamp with time zone

No

now()

endpoint FK

text

No

openapi.endpoint(operation_id)

allowed

boolean

No

ip_addr

inet

Yes

accessor FK

integer

Yes

actor.usr(id)

token

text

Yes

Primary Key

(request_id)

Foreign Keys

Column(s) References On Delete On Update Deferrable Constraint

accessor

actor.usr(id)

CASCADE

CASCADE

No

endpoint_access_attempt_log_accessor_fkey

endpoint

openapi.endpoint(operation_id)

CASCADE

CASCADE

No

endpoint_access_attempt_log_endpoint_fkey

Indexes

Index Method Definition

endpoint_access_attempt_log_pkey PK

btree

CREATE UNIQUE INDEX endpoint_access_attempt_log_pkey ON openapi.endpoint_access_attempt_log USING btree (request_id)

access_accessor_attempt_time_idx

btree

CREATE INDEX access_accessor_attempt_time_idx ON openapi.endpoint_access_attempt_log USING btree (accessor, attempt_time)