System Information
- Strapi Version: 3.6.3
- Operating System: windows 10
- Database: postgresql
- Node Version: 15.1.0
- NPM Version: 6.14.9
- Yarn Version: 1.22.5
Hey everyone, first time I’m posting here.
I’m trying to figure out how to create an entry to a collection that has a 1 to 1 relationship with the user model provided by the users and permissions plugin. I’ve already done some digging, and I’m pretty sure I need to use one of the lifecycle methods either beforeCreate or afterCreate. I haven’t been able to find anywhere on how to accomplish that with the lifecycle methods. Would really appreciate some help
Thank you and wishing everyone a nice day,
Alejandro