Skip to content

Commit

Permalink
Move metrics db changes to correct upgrade script #5445
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-a-dunlap committed Feb 12, 2019
1 parent 13fbc4b commit dc69bc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions scripts/database/upgrades/upgrade_v4.10.1_to_4.11.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
ALTER TABLE datasetversion ADD COLUMN archivalcopylocation text;
ALTER TABLE externaltool ADD COLUMN contenttype text NOT NULL default 'text/tab-separated-values';
TRUNCATE metric;
ALTER TABLE metric ADD COLUMN dayString text;
ALTER TABLE metric ADD COLUMN dataLocation text;
ALTER TABLE metric DROP CONSTRAINT "metric_metricname_key";
ALTER TABLE metric RENAME COLUMN metricValue TO valueJson;
ALTER TABLE metric RENAME COLUMN metricName TO name;
6 changes: 0 additions & 6 deletions scripts/database/upgrades/upgrade_v4.10.1_to_v4.10.2.sql

This file was deleted.

0 comments on commit dc69bc7

Please sign in to comment.