Saturday 29 August 2020

Sequelize plural problem

All my Models and Controllers are following the pattern with singular and plural. For instance if I have a users database, my model is called User and so on.But I have a table on my database called deliverymen and my model is called Deliveryman and I'm having problems with it, because of the plural. How do you guys deal with this type of situation?Thanks in advance.

Submitted August 30, 2020 at 12:44AM by Daniel_Marques

No comments:

Post a Comment