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
.notNullable().defaultTo() is not working the way we expect.
If we can figure out why this doesn't just automatically load the value on create, we should get it to do that. If not, we should remove all defaultTos from the migrations and not expect default values to work on the knex layer. We can instead assign defaults in onCreate if needed.
The text was updated successfully, but these errors were encountered:
.notNullable().defaultTo()
is not working the way we expect.If we can figure out why this doesn't just automatically load the value on create, we should get it to do that. If not, we should remove all
defaultTo
s from the migrations and not expect default values to work on the knex layer. We can instead assign defaults inonCreate
if needed.The text was updated successfully, but these errors were encountered: