-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alter table, add missing columns #12
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -138,7 +138,8 @@ COMMENT ON TABLE model_draft.reeem_newage_output IS '{ | |
"instruction": "tba", | ||
"copyright": "tba"}, | ||
"contributors": [ | ||
{"name": "Ludwig Hülk", "email": "[email protected]", "date": "2017-07-24", "comment": "Create table"} ], | ||
{"name": "Ludwig Hülk", "email": "[email protected]", "date": "2017-07-24", "comment": "Create table"}, | ||
{"name": "4lm", "email": "none", "date": "2019-01-31", "comment": "Alter table, add missing columns"} ], | ||
"resources": [ | ||
{"name": "model_draft.reeem_newage_output", | ||
"format": "PostgreSQL", | ||
|
@@ -160,5 +161,9 @@ COMMENT ON TABLE model_draft.reeem_newage_output IS '{ | |
{"name": "updated", "description": "Timestamp", "unit": "none"} ] } ], | ||
"metadata_version": "1.3"}'; | ||
|
||
-- Add missing columns | ||
ALTER TABLE model_draft.reeem_newage_output | ||
ADD COLUMN "schema" text; | ||
|
||
-- scenario log (project,version,io,schema_name,table_name,script_name,comment) | ||
SELECT scenario_log('REEEM','v0.1.0','setup','model_draft','reeem_newage_output','database_setup_newage.sql',' '); |