Hi there, we’re using prisma migrate to manage our Postgres Schema. The prisma client is used for a part of our architecture - another part accesses the db through other tools. Is there a way to configure triggers through prisma schema? The first thing we have problems with is the updatedAt which only gets updated through the prisma client as it doesn’t use a trigger but a timestamp from the client.
If not - is it something on the roadmap?
r
Ryan
06/25/2021, 10:24 AM
@Alexander Braunreuther 👋
Currently I suppose triggers can only be added via migration
.sql
files that Migrate generates.
As for
updatedAt
, we have a request here that you can add a 👍 and comments on, but it’s not lined for our current roadmap 🙂
j
janpio
06/25/2021, 12:38 PM
A quick search for an issue about triggers did not result in anything, so you should probably also create a feature request issue for that 👍