A membership is a contract between a member and a plan, with its own start, end and status, so a member can pause, switch plans, or hold a history of past memberships. Check-ins record each visit against the membership that admitted it. Classes have a schedule and a capacity; bookings tie a member to one session and carry their attendance.
$ npx vela create my-app --schema gym-membershipsEvery collection, field and relation above becomes a PocketBase migration in the new project. Change any of it afterwards with vela generate migration --ai, which opens this same diagram as an editor.