Join Slack
Powered by
When creating models, I want all my models to have...
# orm-help
t
Ted Joe
08/17/2022, 5:04 PM
When creating models, I want all my models to have certain fields such as
createdAt
,
updatedAt
,
deletedAt
, etc. Do I have to manually create them on every field or is there a place in prisma I can add it once, and have it add on every model?
👀 1
a
Austin
08/17/2022, 8:58 PM
Hey Ted, You will need to add them on every model. Feel free to open a
feature request
if you have an idea on how we can improve this.
v
Vladi Stevanovic
08/29/2022, 8:00 PM
👋 Hello
@Ted Joe
, did you have a chance to see Austin's comment? Let us know if this is still an open question for you!
4
Views
Open in Slack
Previous
Next