dwyl / dwyl/alog

Updating Users using the Alog approach

Open
#56 4 comments 0 reactions 0 assignees View on GitHub
bug question
Dominant language
Elixir
Stars
15
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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 do you have any thoughts on this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.