mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-20 20:26:55 -05:00
docs(chargebee): fix cli command and update migration guidance (#11456)
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
This commit is contained in:
@@ -1089,10 +1089,10 @@ If you see errors like `no such column: "chargebee_customer_id"` or `no such col
|
||||
|
||||
**Solution:**
|
||||
|
||||
1. Run `npx better-auth generate` to regenerate your schema with the Chargebee plugin fields
|
||||
2. Apply the migration to your database
|
||||
3. If manually migrating from another adapter, ensure your column names match your database adapter's conventions
|
||||
4. Refer to the [Better Auth adapter documentation](https://www.better-auth.com/docs/concepts/database) for field name mapping specific to your adapter (Prisma, Drizzle, Kysely, etc.)
|
||||
1. Run `npx auth generate` to regenerate your schema with the Chargebee plugin fields.
|
||||
2. Run `npx auth migrate` to apply the migration to your database, or use your ORM's migration tool.
|
||||
3. If manually migrating from another adapter, ensure your column names match your database adapter's conventions.
|
||||
4. Refer to the [Database documentation](/docs/concepts/database) for field name mapping specific to your adapter (Prisma, Drizzle, Kysely, etc.).
|
||||
|
||||
### Webhook Issues
|
||||
|
||||
|
||||
Reference in New Issue
Block a user