Configure Organizations
Start from a clean local CoreMVP checkout. The normal migrations create Organizations and Projects; after signing in you will see your private Personal Organization and can create a shared one.
Do not overwrite an existing schema
A partial/custom Organizations installation or existing custom
public.projects table needs inspection before migration. The normal
migration fails closed rather than overwriting customer data. Do not reset
a database with data you need to keep merely to make this setup pass.
Start locally
Start local Supabase
bunx supabase startOn a clean installation, this applies the checked-in migrations, including
organizations, organization_memberships, organization_invitations, and
projects. Stop if Supabase reports a migration collision or fails to
become healthy.
Refresh local configuration
./coremvp env syncThis derives the current local Supabase values into without printing secret values.
Start the app
bun run devOpen http://localhost:3000 and sign in. The dashboard should show a
private Personal Organization in its switcher.
Create your first organization
- Select Organizations in the dashboard sidebar.
- Enter an organization name and select Create organization.
- Confirm that the new Organization opens and your role is
owner. - Return to Projects. Switching between Personal and the new Organization changes the Projects shown.
The Organization switcher changes dashboard context. The server still checks membership for each Project API request; a browser selection alone never authorizes access.
If Organizations is unavailable, inspect the migration result. A partial schema keeps the feature unavailable until it is repaired; do not run an undocumented cleanup against data you need to retain.
What's next
Invite Members Safely
Test Organizations
Was this page helpful?