Skip to content

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

Open
laksithaliyanaarachchi wants to merge 3 commits into
developmentfrom
k5p7x0r9fd
Open

k5p7x0r9fd: create backend methods to observe changes in activity and…#76
laksithaliyanaarachchi wants to merge 3 commits into
developmentfrom
k5p7x0r9fd

Conversation

@laksithaliyanaarachchi
Copy link
Copy Markdown

Screenshot (403)

Here is the screenshot of log table...

@laksithaliyanaarachchi
Copy link
Copy Markdown
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
Copy Markdown
Member

@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