We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a recommended way to implement audit logs with Prisma Py. I want to audit when certain actions are taken on a specific table
budgets
I'd like to do something like this
Ideally I don't need to search for all the instances in my code where the DB is being written to
prisma_client = PrismaClient( database_url=database_url ) prisma_client.extend(`tables_to_audit=['budgets', 'models'])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
Is there a recommended way to implement audit logs with Prisma Py. I want to audit when certain actions are taken on a specific table
budgets
table. We need to store the value before, after, time, and updated_bySuggested solution
I'd like to do something like this
Ideally I don't need to search for all the instances in my code where the DB is being written to
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: