Problem:
When you remove a model and are prompted with the following:
✔ **model** is missing in current schema. Have you deleted it?
An error occurs: Cannot convert undefined or null to object
Debugging shows:
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at compareSchema (file:///*/*/*/*/*/node_modules/sequelizemm/dist/index.mjs:429:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async makemigration (file:///*/*/*/*/*/node_modules/sequelizemm/dist/index.mjs:482:5)
at async cli (file:///*/*/*/*/*/node_modules/sequelizemm/bin/index.js:55:7)
Confirmed that this does not happen on 1.2.2
Problem:
When you remove a model and are prompted with the following:
✔ **model** is missing in current schema. Have you deleted it?An error occurs:
Cannot convert undefined or null to objectDebugging shows:
Confirmed that this does not happen on 1.2.2