application_permissions_revision


Description

{“what”:“Audit log of permission changes for applications.”,“why”:“Without it, no history of who changed what permissions and when.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:02:21.859048241+00:00”}

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 √ null

{“what”:“Unique integer identifier for each change event.”,“why”:“Enables referencing a specific change event.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:02:21.879865036+00:00”}

before text 2147483647 null

{“what”:“Serialized permissions state before the change.”,“why”:“Without it, the prior state is lost, making rollback impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:02:21.900268942+00:00”}

after text 2147483647 null

{“what”:“Serialized permissions state after the change.”,“why”:“Without it, the new state is unknown, and the change cannot be verified.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:02:21.931876717+00:00”}

user_id int4 10 null
core_user.id fk_general_permissions_revision_user_id R

{“what”:“Identifier of the user who made the change.”,“why”:“Without it, accountability for permission changes is lost.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:02:21.947899177+00:00”}

created_at timestamptz 35,6 null

{“what”:“Timestamp when the change was recorded.”,“why”:“Without it, the order of changes is unknown, hindering audit.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:02:21.961963207+00:00”}

remark text 2147483647 √ null

{“what”:“Optional free-text note about the change.”,“why”:“Without it, context or reason for the change is missing.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:02:21.974963308+00:00”}

Indexes

Constraint Name Type Sort Column(s)
general_permissions_revision_pkey Primary key Asc id
idx_application_permissions_revision_user_id Performance Asc user_id

Relationships