Closed
Bug 1194824
Opened 9 years ago
Closed 9 years ago
Add a "last_modified" column to exclusion profiles table
Categories
(Tree Management :: Treeherder: API, defect, P3)
Tree Management
Treeherder: API
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: mdoglio)
References
Details
Attachments
(1 file)
I'd like it if exclusion profiles returned a timestamp of the most recent time they were updated.
Reporter | ||
Comment 1•9 years ago
|
||
This would help me do things like notify all clients when the active exclusion profiles have been update <somewhere else>, prompting them to refresh to pick up the new changes.
Reporter | ||
Comment 2•9 years ago
|
||
Mauro said he'd take a look at this sometime next week, because Mauro is good people. :)
Assignee: nobody → mdoglio
Updated•9 years ago
|
Priority: -- → P3
Assignee | ||
Comment 4•9 years ago
|
||
Flags: needinfo?(mdoglio)
Attachment #8659861 -
Flags: review?(emorley)
Assignee | ||
Comment 5•9 years ago
|
||
To land this on staging/production we need a bit of coordination because there's a db change.
Updated•9 years ago
|
Attachment #8659861 -
Flags: review?(emorley) → review+
Comment 6•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/120ae4fadac274e59c20c1ab671d628417be3961 Bug 1194824 - Add last modified timestamp to ExclusionProfile
Assignee | ||
Comment 7•9 years ago
|
||
I applied these db schema changes to both staging and production: alter table `exclusion_profile` add column `modified` datetime default CURRENT_TIMESTAMP; alter table `exclusion_profile` modify column `modified` datetime NOT NULL;
Assignee | ||
Comment 8•9 years ago
|
||
I actually set `DEFAULT CURRENT_TIMESTAMP` so that we don't get errors before we land the code: alter table `exclusion_profile` modify column `modified` datetime default CURRENT_TIMESTAMP;
Comment 9•9 years ago
|
||
(In reply to Mauro Doglio [:mdoglio] from comment #7) > I applied these db schema changes to both staging and production: Could you also update Heroku's RDS instance please :-)
Flags: needinfo?(mdoglio)
Assignee | ||
Comment 10•9 years ago
|
||
Ooops I forgot about the heroku deployment. Done.
Flags: needinfo?(mdoglio)
Comment 11•9 years ago
|
||
Thank you :-)
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•