@bitbaum/accountkit 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -251,6 +251,14 @@ role mapping, migration verification and product journeys remain the consumer's
251
251
  responsibility. This option alone does not migrate any data.
252
252
 
253
253
 
254
+ ### Account tables beside a product's own
255
+
256
+ A product whose tables already use the standard names (a NextAuth `users`,
257
+ `accounts`, `sessions`) creates the account tables under a prefix and passes
258
+ them to the runtime: `const tables = createAuthTables("auth_")`, then
259
+ `schema: tables` (both `createAuthRuntime` and `createAuthInstance`). The
260
+ columns are identical to the standard set; only table and index names change.
261
+
254
262
  ### Domain credentials during migration
255
263
 
256
264
  `createAuthRuntime` and `createAuthInstance` accept an optional