-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move metrics db changes to correct upgrade script #5445
- Loading branch information
1 parent
13fbc4b
commit dc69bc7
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file was deleted.
Oops, something went wrong.