pgpm-achievements
pgpm-achievements · User achievement steps and level tracking tables
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102144 | pgpm-achievements | pgpm-achievements | 0.47.0 | FEAT | MIT | PLpgSQL |
| Relationships | |
|---|---|
| Requires | plpgsql pgpm-jwt-claims pgpm-verify |
Usage
Sources:
- packages/achievements/README.md
- packages/achievements/sql/pgpm-achievements–0.47.0.sql
- packages/achievements/Makefile
- packages/achievements/pgpm-achievements.control
pgpm-achievements records completed steps, achievements and level requirements. Triggers update achievement state in the fixed status schemas.
Core Workflow
Operational Boundaries
status_public.user_steps and status_public.user_achievements hold user progress; status_public.steps_required and status_public.user_achieved inspect it. Review JWT-claim integration, row policies and SECURITY DEFINER helpers before accepting user-driven writes. Provision level requirements before expecting progression.
Version 0.47.0 is a SQL/PLpgSQL extension with no own shared library or preload. Install the matching dependency versions first: plpgsql, pgpm-jwt-claims, pgpm-verify. Its SQL expects the platform roles anonymous, authenticated to exist; use the upstream role bootstrap and review grants before installation. The control permits non-superuser installation but is not marked trusted; dependency, schema and role-grant privileges still apply. No current PostgreSQL-major matrix is declared.