premium_features_token_cache


Description

{“what”:“Cache of premium feature token hashes to their status hashes.”,“why”:“Avoids repeated lookups of token status; enables quick invalidation.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:09:53.102863735+00:00”}

Columns

Column Type Size Nulls Auto Default Children Parents Comments
token_hash varchar 64 null

{“what”:“SHA-256 hash of the premium feature token; primary key.”,“why”:“Uniquely identifies a token to look up its cached status.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:09:53.120173514+00:00”}

token_status_hash varchar 64 null

{“what”:“Hash of the token’s current status value.”,“why”:“Detects status changes without storing raw status; used for cache invalidation.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:09:53.303153408+00:00”}

updated_at timestamptz 35,6 null

{“what”:“Timestamp of the last cache write, timezone-aware.”,“why”:“Enables expiry or staleness checks for the cached entry.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:09:53.323566689+00:00”}

Indexes

Constraint Name Type Sort Column(s)
premium_features_token_cache_pkey Primary key Asc token_hash

Relationships