Skip to content

k5p7x0r9fd: create backend methods to observe changes in activity and… #76

New issue

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

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

laksithaliyanaarachchi
Copy link
Collaborator

Screenshot (403)

Here is the screenshot of log table...

@laksithaliyanaarachchi
Copy link
Collaborator Author

This PR adds support for database triggers.

The following files are introduced/updated:
• Prisma/scripts/triggers.sql: Defines SQL triggers for handling specific database events.
• Prisma/executeTriggers.ts: Executes the SQL trigger file using the database connection.
• Prisma/schema.prisma: Adds the audit_log table to the Prisma schema.

Copy link
Collaborator

@thlurte thlurte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SaiyafLareef the base schema has been altered, talk to @laksithaliyanaarachchi and see if they are necessary. In a typical scenario we should rarely modify the scheme unless necessary. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants