CoreMVP

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 start

On 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 sync

This derives the current local Supabase values into without printing secret values.

Start the app

bun run dev

Open http://localhost:3000 and sign in. The dashboard should show a private Personal Organization in its switcher.

Create your first organization

  1. Select Organizations in the dashboard sidebar.
  2. Enter an organization name and select Create organization.
  3. Confirm that the new Organization opens and your role is owner.
  4. 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

Was this page helpful?

On this page