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-membershipsCada colección, campo y relación de arriba se convierte en una migración de PocketBase en el nuevo proyecto. Cambia lo que quieras después con vela generate migration --ai, que abre este mismo diagrama como editor.