new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Better Auth · Plugins · all subjects

stripe/schema

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Stripe user table schema addition

The Stripe plugin adds stripeCustomerId field (string, optional) to the user table.

Stripe organization table schema addition

When organization.enabled is true, the Stripe plugin adds stripeCustomerId field (string, optional) to the organization table.

Stripe subscription table schema

The Stripe plugin creates a subscription table with fields: id (string, primary key), plan (string, required), referenceId (string, not unique to allow resubscription), stripeCustomerId (string, optional), stripeSubscriptionId (string, optional), status (string, default 'incomplete'), periodStart (Date, optional), periodEnd (Date, optional), cancelAtPeriodEnd (boolean, default false, optional), cancelAt (Date, optional), canceledAt (Date, optional), endedAt (Date, optional), seats (number, optional), trialStart (Date, optional), trialEnd (Date, optional), billingInterval (string, optional), stripeScheduleId (string, optional).

Stripe schema customization

Customize schema table names and field names with schema option in plugin config. Pass schema object with subscription key containing modelName (string) for table name and fields object mapping original field names to custom names.

Give your agent this brain