Download this file
| 1 | -- Forge authority belongs to the team; pending setup is a single team slot. |
| 2 | CREATE TABLE forge_connections ( |
| 3 | id text PRIMARY KEY, generation integer, state text, login text, |
| 4 | account_type text, account_id integer, app_id integer, slug text, app_name text, |
| 5 | installation_id integer, selection text, confirmed numeric, active_account integer, |
| 6 | sealed_key text, owner text, session text, origin text, manifest_hash text, |
| 7 | installation_hash text, started_at datetime, redirect_until datetime, |
| 8 | pending_until datetime, uninstalled_at datetime, count integer, count_known numeric, |
| 9 | claim text, claim_until datetime, updated_at datetime |
| 10 | ); |
| 11 | CREATE UNIQUE INDEX forge_active_account ON forge_connections(active_account); |
| 12 | CREATE TABLE forge_pending (id integer PRIMARY KEY, connection_id text); |
| 13 | |