Tearleads

organization_founders Client SQLite table

Immutable authority for a personal organization's signed replacement.

Declared in packages/client-sdk/src/data/sqlite/schema/organizationFounderSchema.ts

Columns

  • organization_idtext
    • primary key
    • not null

    The personal organization, as named by its genesis policy state.

  • user_idtext
    • not null

    User who signed the organization's genesis state: its founder.

  • signing_key_fingerprinttext
    • not null

    Hex SHA-256 fingerprint of the founder's root signing key. For a device-signed genesis it comes from the founder's root identity, not the signing device's key.

  • genesis_state_hashtext
    • not null

    Hex SHA-256 state hash of the organization's version 1 policy state.

DDL

The statements the client runs to create this table and its indexes.

CREATE TABLE IF NOT EXISTS "organization_founders" (
  "organization_id" TEXT NOT NULL PRIMARY KEY,
  "user_id" TEXT NOT NULL,
  "signing_key_fingerprint" TEXT NOT NULL,
  "genesis_state_hash" TEXT NOT NULL
);