Database
Neon
The schema here is small on purpose: Better Auth's tables, a variant to plan mapping, and one entitlement row per user. Neon's branching earns its place during the awkward period when the definition of a plan is still moving, since the mapping can be migrated on a branch and pointed at by a staging build. Store the Lemon Squeezy subscription identifier as the natural key so a re-import from their API reconciles without guesswork.