biometric_accounts


Description

{“what”:“Accounts for biometric authentication; each row is one user account.”,“why”:“Without it, biometric authentication cannot be tied to a user identity.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:41.883164274+00:00”}

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 √ nextval('biometric_accounts_id_seq'::regclass)
biometric_device_keys.account_id biometric_device_keys_account_id_fkey R

{“what”:“Unique integer identifier for each account; auto-generated from sequence.”,“why”:“Without it, rows cannot be uniquely referenced by foreign keys or updates.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:41.949063234+00:00”}

name text 2147483647 null

{“what”:“Account display name; free-form text.”,“why”:“Without it, accounts cannot be distinguished by a human-readable label.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:41.996542141+00:00”}

role text 2147483647 'user'::text

{“what”:“Access role such as ‘user’ or ‘admin’; default is ‘user’.”,“why”:“Without it, authorization decisions cannot differentiate user privileges.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:42.120580238+00:00”}

created_at timestamptz 35,6 now()

{“what”:“UTC timestamp when the account row was created; set to current time on insert.”,“why”:“Without it, audit trails and ordering by creation time are impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:42.834637036+00:00”}

Indexes

Constraint Name Type Sort Column(s)
biometric_accounts_pkey Primary key Asc id
biometric_accounts_name_key Must be unique Asc name

Relationships