tbl_audit_logs

-1 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
audit_log_id bigserial 19 √ nextval('tbl_audit_logs_audit_log_id_seq'::regclass)
actor_userid int8 19 null
tbl_users.userid tbl_audit_logs_actor_userid_fkey R
action text 2147483647 null
entity_type text 2147483647 √ null
entity_id int8 19 √ null
before_json jsonb 2147483647 √ null
after_json jsonb 2147483647 √ null
created_at timestamp 29,6 CURRENT_TIMESTAMP

Indexes

Constraint Name Type Sort Column(s)
tbl_audit_logs_pkey Primary key Asc audit_log_id
idx_tbl_audit_logs_actor_created_at Performance Asc/Desc actor_userid + created_at
idx_tbl_audit_logs_entity_created_at Performance Asc/Asc/Desc entity_type + entity_id + created_at

Relationships