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
I'm getting the error in title in a production environment. The reason is that the default value of migrate of models is 'alter' in waterline. As suggested in this comment, adding the follwing
var options = {
// other options
defaults: {
migrate: 'safe',
}
}
OpenIDConnect.oidc(options);
I probably missed something but I couldn't find an easy way to modify the migrate option of the underlying waterline, unless initialising waterline completely by myself and passing it to OpenIDConnect in the option.
Any fix to this?
The text was updated successfully, but these errors were encountered:
I'm getting the error in title in a production environment. The reason is that the default value of
migrate
of models is'alter'
in waterline. As suggested in this comment, adding the follwingcan potentially resolve the issue. However the
defaults
option won't be forwarded to initialise waterline.I probably missed something but I couldn't find an easy way to modify the
migrate
option of the underlying waterline, unless initialising waterline completely by myself and passing it to OpenIDConnect in the option.Any fix to this?
The text was updated successfully, but these errors were encountered: