In order to be able to assign the paranoid flag via the CLI, it is possible to set the flag --paranoid true after the model:generate
You can also set the paranoid flag to true in the .sequelizerc , so all created models and migrations will be paranoid by default.
If you have set paranoid to true in the config, you can set paranoid to false for individual tables by setting the flag to --paranoid false via the CLI after the model:generate
Pull Request check-list
Please make sure to review and check all of these items:
npm run test
pass with this change (including linting)?Description of change
The following files have been changed:
solved issue:
The following test has been adapted:
update to the documentation: