Automatic data change tracking for Prisma with PostgreSQL, enabling audit trails and time travel querying.
Bemi Prisma is an open-source library that automatically tracks all data changes in applications using Prisma with PostgreSQL. It captures every database operation along with application context, enabling developers to implement audit trails, time travel querying, and change reversion without modifying existing schemas. The tool ensures 100% reliability by monitoring both application-level changes and direct SQL queries.
Developers building applications with Prisma and PostgreSQL who need reliable audit trails, compliance logging, or historical data querying capabilities. It's particularly useful for teams in fintech, healthcare, or any domain requiring strict data change tracking.
Bemi Prisma offers a non-invasive, high-performance solution for data change tracking that works out-of-the-box with existing Prisma setups. Unlike manual logging or event sourcing implementations, it automatically captures all changes with rich context, provides time travel querying, and scales with both cloud and self-hosted deployments.
Automatic data change tracking for Prisma
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Captures 100% of data changes, including those made via direct SQL, by connecting to PostgreSQL's Write-Ahead Log, ensuring no missed operations as highlighted in the README.
Enriches change records with customizable context like user IDs and API endpoints through middleware, providing detailed audit trails without code rewrites.
Works with existing Prisma setups and PostgreSQL databases without schema changes, using Prisma extensions to avoid altering production systems.
Supports cloud-based or self-hosted deployment with fault-tolerant architecture, including workers and queues for handling high volumes of changes.
Only compatible with PostgreSQL and Prisma, excluding other databases or ORMs, which restricts its use in polyglot or legacy environments.
Requires enabling a Node.js PostgreSQL adapter, configuring middleware, and potentially managing cloud or self-hosted infrastructure, adding initial overhead.
The cloud solution may create dependency on Bemi's infrastructure, and while self-hosting is an option, it involves additional operational complexity as noted in the docs.