feat: expand companion platform, device controls, and memoir workflows
ci / verify (push) Canceled after 0s
ci / verify (push) Canceled after 0s
Add customer and operator login, BLE provisioning, device fleet controls, call memory, memoir generation, and refreshed family and maintenance portals. Include API contracts, migrations, firmware sources, tests, assets, and deployment documentation.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
BEGIN;
|
||||
CREATE TABLE trusted_login_device (
|
||||
token_hash char(64) PRIMARY KEY,
|
||||
realm text NOT NULL CHECK (realm IN ('customer','operator')),
|
||||
phone_digest char(64) NOT NULL,
|
||||
credential_digest char(64) NOT NULL,
|
||||
verified_at timestamptz NOT NULL,
|
||||
expires_at timestamptz NOT NULL,
|
||||
revoked_at timestamptz
|
||||
);
|
||||
CREATE INDEX trusted_login_device_phone_idx ON trusted_login_device(realm,phone_digest);
|
||||
CREATE INDEX trusted_login_device_expiry_idx ON trusted_login_device(expires_at);
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user