sequelize-auto
sequelize-auto copied to clipboard
Computed Columns in MSSQL generated with allowNull: false
I have a computed columns in one of my tables and it is being generated with allowNull: false. Since I don't send a value for this column, I end up with a validation error. I can solve this by setting allowNull to true manually but it will need to be done every time I regenerate models.
Thanks for reporting. What is the column definition for your computed column?
ColumnName AS Concat("P-", AnotherColumnName)