-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add “modified_date” & “updated_by” to the User table #2085
Comments
@sainak I would like to work on this issue |
@sainak What behaviour do we want to implement on User object creation? Initially SET updated_by to null |
@sainak Could I be assigned this issue? |
I've been looking through these files... @sainak and @rithviknishad , my general approach is to add the 2 fields in both files. Then make the migrations and the migrations file, so that application logic and ORM are in sync with db. Also, should updating these fields every time someone modifies a user be in the PR as well? Right now, it seems we're just adding in 2 fields. Let me know your thoughts :) |
Fixes ohcnetwork#2085 Took inspiration from field ``doctor_experience_commenced_on`` on how to create a new field in the codespace Used ``python manage.py makemigrations`` and ''python manage.py migrate'' to create new field in the database table
Fixes ohcnetwork#2085 Took inspiration from field ``doctor_experience_commenced_on`` on how to create new fields in the codespace Used ``python manage.py makemigrations`` and ''python manage.py migrate'' to create new fields in the database table
Add “modified_date” & “updated_by” to the User table for tracking updates made by admins
cc @gigincg
The text was updated successfully, but these errors were encountered: