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 am currently in the process of trying to update all the users in my database to add new columns to the table.
I tried using the Alog update function which inserts a new row with the updated information but this is giving me an error because it is changing my email_hash and password values. (Also using dwyl fields)
This is an issue because it means that if I update the user that user can no longer log into the application.
If I change the Alog update function to Repo.update(User, params) it works fine but we have no record of the change.
@nelsonic It's not the addition of the new fields that is changing the email_hash and password. It's the User.update (Alog.update) function which appears to be changing the values.
I am currently in the process of trying to update all the users in my database to add new columns to the table.
I tried using the Alog update function which inserts a new row with the updated information but this is giving me an error because it is changing my
email_hash
andpassword
values. (Also using dwyl fields)This is an issue because it means that if I update the user that user can no longer log into the application.
If I change the Alog update function to Repo.update(User, params) it works fine but we have no record of the change.
@nelsonic do you have any thoughts on this?
The text was updated successfully, but these errors were encountered: