You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -449,7 +479,7 @@ Use `*.api.*` to write or force a fresh read. Use `*.db.*` for lists, search, an
449
479
450
480
## Core tables
451
481
452
-
Five tables for every integration. Slack, GitHub, Linear, and the rest all share the same schema.
482
+
Six tables. The first five are shared by every integration — Slack, GitHub, Linear, and the rest use the same schema. `corsair_connect_requests` records a tenant's pending connect prompt.
453
483
454
484
| Table | Purpose |
455
485
|-------|---------|
@@ -458,6 +488,7 @@ Five tables for every integration. Slack, GitHub, Linear, and the rest all share
|`corsair_connect_requests`| A tenant's pending connect prompt, written when a call needs auth and read by the client to open the connect dialog (`tenant_id`, `plugin`, `connect_url`) |
Define the five Corsair tables in your ORM schema (see migration tabs above), run your normal migrations, and pass the **underlying connection** to Corsair, not the ORM client:
603
+
Define the six Corsair tables in your ORM schema (see migration tabs above), run your normal migrations, and pass the **underlying connection** to Corsair, not the ORM client:
573
604
574
605
```ts
575
606
const pool =newPool({ connectionString: process.env.DATABASE_URL });
0 commit comments