Been playing around a bit this morning on dev and here's what I've found:
Creating an Event sets MembersOnly/ScoresReleased/AllowLateEntry to null instead of their default values
Changing this to not allow nulls (allowNull: false) triggers sequelize internal validation
The workaround is to create an event and then save the details again, but this is not ideal.
It's worth having a deeper look into what's actually going on here - is it a change to the way sequelize works? Have we misconfigured something? Do default values still work??
Been playing around a bit this morning on dev and here's what I've found:
Event
sets MembersOnly/ScoresReleased/AllowLateEntry tonull
instead of their default valuesallowNull: false
) triggers sequelize internal validationThe workaround is to create an event and then save the details again, but this is not ideal.
It's worth having a deeper look into what's actually going on here - is it a change to the way sequelize works? Have we misconfigured something? Do default values still work??