Skip to content

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.

3 participants