ActionLogs


Description

Logs of all API requests.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 √ nextval('"ActionLogs_id_seq"'::regclass)

Primary Key.

object varchar 255 √ null

Id of resource being changed.

action enum_ActionLogs_action 2147483647 null

REST action of the request.

additionalInfo jsonb 2147483647 √ null

Additional information about the request.

ipAddress inet 2147483647 √ null

IP address of the request sender.

userId uuid 2147483647 √ null

Foreign key to User Table.

apiClientId varchar 255 √ null

API client from which the request originates.

createdAt timestamptz 35,6 null

Entry creation date

updatedAt timestamptz 35,6 null

Datetime of last modification to any attribute

collection varchar 255 √ null

Resource being changed.

Indexes

Constraint Name Type Sort Column(s)
ActionLogs_action_idx Performance Asc action
ActionLogs_collection_idx Performance Asc collection
ActionLogs_collection_object_idx Performance Asc/Asc collection + object
ActionLogs_createdAt_idx Performance Asc createdAt
ActionLogs_userId_idx Performance Asc userId

Relationships