Skip to content
Myr

0003_identities.sql

This file

Path

apps/platform/migrations/0003_identities.sql

11 lines · 506 bytes · SQL

Last changed by

Drop the private build plan's citations from the code, and fail verify if one comes backoscabrielbefore adoptiona29cef6

History of this file

Take it

The walk stopped after 200 commits: lines older than 678c8b8 point at it.

Drop the private build plan's citations from the code, and fail verify if one comes backoscabrielbefore adoptiona29cef6

line 1why, one step back
1-- Outside identities linked to platform accounts: the provider

Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8

lines 2–11why, one step back
2-- (`google`), its stable subject id for the person (Google's `sub`), and the
3-- account's `handle_key` (the handle lowercased, as in `accounts`). Nothing4-- else: no email, no name, no token. One outside account names one handle,5-- so a second link of a subject to another handle fails on the key.6CREATE TABLE identities (7 provider TEXT NOT NULL,8 subject TEXT NOT NULL,9 handle_key TEXT NOT NULL,10 PRIMARY KEY (provider, subject)11);