Closed
Bug 1211715
Opened 9 years ago
Closed 9 years ago
Remove the device table
Categories
(Tree Management :: Treeherder, defect, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
It's not being used for anything.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8670013 -
Flags: review?(cdawson)
Updated•9 years ago
|
Attachment #8670013 -
Flags: review?(cdawson) → review+
Comment 2•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/4196822599461e73bb3dd481a644c44cffe1cdae
Bug 1211715 - Remove the device table
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•9 years ago
|
||
Before this is deployed, reference_data_signatures.device_name needs to be given a default (job.device_id already defaults to NULL).
ALTER TABLE treeherder.reference_data_signatures CHANGE device_name device_name varchar(50) COLLATE utf8_bin DEFAULT NULL;
Run against Heroku:
16:28:35 ALTER TABLE treeherder.reference_data_signatures CHANGE device_name device_name varchar(50) COLLATE utf8_bin DEFAULT NULL 0 row(s) affected Records: 0 Duplicates: 0 Warnings: 0 2.610 sec
Stage:
16:48:02 ALTER TABLE treeherder_stage.reference_data_signatures CHANGE device_name device_name varchar(50) COLLATE utf8_bin DEFAULT NULL 0 row(s) affected Records: 0 Duplicates: 0 Warnings: 0 0.156 sec
Prod:
16:51:47 ALTER TABLE treeherder.reference_data_signatures CHANGE device_name device_name varchar(50) COLLATE utf8_bin DEFAULT NULL 0 row(s) affected Records: 0 Duplicates: 0 Warnings: 0 3.437 sec
I'll file a separate bug to drop device table, reference_data_signatures.device_name and job.device_id.
You need to log in
before you can comment on or make changes to this bug.
Description
•