A
A
Alexander2021-08-22 17:36:37
PostgreSQL
Alexander, 2021-08-22 17:36:37

How to create Schema Types ObjectId in sequelize?

Hello, can you please tell me how to create a similar entry in sequelize as in mongoose?
I will be grateful for the answer
user: { type: Schema.Types.ObjectId, ref: 'User'},

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question