cli
cli copied to clipboard
Generate model with no attributes
Can I generate model with no attributes but default ones, id, createdAt, updatedAt ?
I tried
sequelize model:generate --name TableName and
sequelize model:generate --name TableName --attributes but to no avail.
Just ran into this myself. I have a model that for now just has associations with other models while I'm getting the project up and running. Ideally, I wouldn't have to add a dummy attribute to stand this up.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.