Created
October 28, 2014 16:51
-
-
Save VinceMacBuche/a4fcbc2fd5451d4ece8e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
-- add the columns needed to store NodeConfigId: | |
-- - one in reportExectution, "nodeConfigId" | |
ALTER TABLE ReportsExecution ADD COLUMN nodeConfigId text; | |
-- - one in ExpectedReportsNode, "nodeConfigIds" (with 's') | |
ALTER TABLE expectedReportsNodes ADD COLUMN nodeConfigIds text[]; | |
-- - the table for node config ids | |
CREATE TABLE nodes_info ( | |
node_id text PRIMARY KEY CHECK (node_id <> '') | |
-- configs ids are a dump of json: [{"configId":"xxxx", "dateTime": "iso-date-time"} ] | |
, config_ids text | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment