Setup runs an unpinned remote CLI that can directly migrate the database
Source references: 3`npx auth@latest migrate` selects the newest package code available at execution time and then makes persistent database-schema changes. The guide does not require a pinned, reviewed version, migration preview, or backup first.
If the latest package is compromised, changes behavior, or generates an incompatible migration, the CLI can execute with the developer's privileges and may cause downtime, schema damage, or unavailable data.
The guide tells the user to run an unpinned `npx` CLI for a database migration and then verify that new tables exist, showing that the step changes schema state. It provides no migration preview, backup, or rollback guidance. Before running it, the user can request a pinned version, generated SQL, backup and rollback steps, and test it against a non-production database.
1. Add `organization()` plugin to server config2. Add `organizationClient()` plugin to client config3. Run `npx auth@latest migrate` (built-in adapter) or generate + push for Drizzle/Prisma4. Verify: check that organization, member, invitation tables exist in your databaseShow 2 other places
2. Add `organizationClient()` plugin to client config3. Run `npx auth@latest migrate` (built-in adapter) or generate + push for Drizzle/Prisma4. Verify: check that organization, member, invitation tables exist in your database3. Run `npx auth@latest migrate` (built-in adapter) or generate + push for Drizzle/Prisma4. Verify: check that organization, member, invitation tables exist in your database