wmiys / api.alpha

Api for the the backend
0 stars 0 forks source link

[product-requests]: Create a MySQL event to update status #152

Closed rrickgauer closed 2 years ago

rrickgauer commented 2 years ago

Create a mysql event that marks product-requests as expired after 24 hours the request was created.

Should it update the responded_on field too?

rrickgauer commented 2 years ago

https://www.mysqltutorial.org/mysql-triggers/working-mysql-scheduled-event/