This column stores the Legendum account_service token for charging credits. Refer to the Database page for more on database management.

Modified Files

Several files require updates to incorporate the new model:

FileChange
src/db.tsRemove PLAN_LIMITS, remove plan checks, add legendum_token column.
src/routes/state.tsReplace plan limit checks with legendum.charge() calls.
src/routes/nodes.tsReplace plan checks with legendum.charge() on node creation.
src/notify/webhook.tsAdd legendum.charge() after webhook delivery.
src/notify/email.tsAdd legendum.charge() after email sending.
src/routes/namespaces.tsUpdate for Legendum OAuth login.
views/pricing.etaReplace with Legendum pricing info and link.
src/auth.tsUse legendum_token for charge operations.

Authentication Flow Changes

Browser Users

The authentication flow changes from email-based signup to Legendum OAuth:

CLI Users

For CLI tools, use the following command to link accounts:

Recent changes