Closed thestrugglingblack closed 6 years ago
The purpose of this PR is to show to the user the name and date of the last individual who made a status change to the item in the current queue.
database/item.js
lastModifiedBy
lastModifiedDate
lib/helper/item-route-validators.js
migrations/20180309161931-add_last_modified_by_last_modified_date_to_item.js
Item
routes/item.js
updateItem
feature/tf-499_item-last-modified
npm start
If the above items do not work as stated please contact me and leave a comment on what happened
@ZuriHunter can you use the project's prettier configuration.
@kepta you mean that configs from .eslintrc file?
Prettier https://github.com/osmlab/to-fix-backend/blob/master/package.json#L11
@kepta My settings in atom was not picking up prettier correctly.
Ticket Number
266
Description
The purpose of this PR is to show to the user the name and date of the last individual who made a status change to the item in the current queue.
Areas of Change
database/item.js
: update schema to supportlastModifiedBy
andlastModifiedDate
lib/helper/item-route-validators.js
: AddedlastModifiedBy
andlastModifiedDate
to be accepted attributesmigrations/20180309161931-add_last_modified_by_last_modified_date_to_item.js
: update the DB for those two new columns in theItem
table in Postgresroutes/item.js
: addedupdateItem
method to handlelastModifiedBy
andlastModifiedDate
Test
feature/tf-499_item-last-modified
npm start
feature/tf-499_item-last-modified
If the above items do not work as stated please contact me and leave a comment on what happened