mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-25 17:11:27 -05:00
docs: fix incorrect unique constraint on subscription.referenceId (#5822)
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
This commit is contained in:
@@ -622,8 +622,8 @@ Table Name: `subscription`
|
||||
{
|
||||
name: "referenceId",
|
||||
type: "string",
|
||||
description: "The ID this subscription is associated with (user ID by default)",
|
||||
isUnique: true
|
||||
description: "The ID this subscription is associated with (user ID by default). This should NOT be a unique field in your database, as it must allow users to resubscribe after a cancellation.",
|
||||
isUnique: false
|
||||
},
|
||||
{
|
||||
name: "stripeCustomerId",
|
||||
|
||||
Reference in New Issue
Block a user