You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Table should be created, and all fields should be NOT NULL.
Possible Solution
Environment
[System Information]
OS Version : macOS Catalina
NodeJS Version : v12.16.1
NPM Version : 6.14.8
[Nest CLI]
Nest CLI Version : 7.4.1
[Nest Platform Information]
platform-express version : 7.4.2
sequelize version : 0.1.1
passport version : 7.1.0
swagger version : 4.6.0
common version : 7.4.2
config version : 0.5.0
core version : 7.4.2
cqrs version : 7.0.1
jwt version : 7.1.0
Others:
The text was updated successfully, but these errors were encountered:
Nest doesn't modify the options passed in and sends them directly to Sequelize. If you're facing a problem with it can you provide a minimum reproduction?
Bug Report
Current behavior
I want to remove tedious
@AllowNull(false)
decorators, and I found a solution here.But Table is not created with omitNull option.
Input Code
const models = [DefaultAccount, Account];
account.module.ts
Expected behavior
Table should be created, and all fields should be NOT NULL.
Possible Solution
Environment
The text was updated successfully, but these errors were encountered: