[enter image description here][1]
I tried to get customerId as a reference from another table in my database by importing mongoose as (type: mongoose.Schema.Types.ObjectId,) table is not created but when I (remove required:true)it will. [1]: https://i.stack.imgur.com/eKmwg.png
1.4m articles
1.4m replys
5 comments
56.7k users