-
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.
Merge pull request #89 from PanDAWMS/eddiedev
Sync with oracle for schema 0.0.22
- Loading branch information
Showing
3 changed files
with
49 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
CREATE TABLE doma_panda.error_classification ( | ||
"id" bigint NOT NULL, | ||
"error_source" VARCHAR(30) NOT NULL, | ||
"error_code" bigint NOT NULL, | ||
"error_diag" VARCHAR(256) NOT NULL, | ||
"description" VARCHAR(250), | ||
"error_class" VARCHAR(30) NOT NULL, | ||
"active" CHAR(1) NOT NULL, | ||
"reg_date" TIMESTAMP DEFAULT ((CURRENT_TIMESTAMP(0) AT TIME ZONE 'UTC')) | ||
); | ||
COMMENT ON TABLE doma_panda.error_classification IS E'Classification of job error codes+messages to system, user or others'; | ||
COMMENT ON COLUMN doma_panda.error_classification.id IS E'Sequential ID of the request. 1M offset to avoid overlapping IDs with retry module'; | ||
COMMENT ON COLUMN doma_panda.error_classification.error_source IS E'Source of the error: pilotErrorCode, exeErrorCode, ddmErrorCode...'; | ||
COMMENT ON COLUMN doma_panda.error_classification.error_code IS E'Error code number'; | ||
COMMENT ON COLUMN doma_panda.error_classification.error_diag IS E'Error message'; | ||
COMMENT ON COLUMN doma_panda.error_classification.description IS E'Any description or comment on the entry'; | ||
COMMENT ON COLUMN doma_panda.error_classification.error_class IS E'Error class: system, user,...'; | ||
COMMENT ON COLUMN doma_panda.error_classification.active IS E'Y or N. Depending on whether the entry is confirmed'; | ||
COMMENT ON COLUMN doma_panda.error_classification.reg_date IS E'Registration date, defaults to current timestamp';ALTER TABLE error_classification OWNER TO panda; | ||
ALTER TABLE doma_panda.error_classification OWNER TO panda; | ||
ALTER TABLE doma_panda.error_classification ADD PRIMARY KEY (id); | ||
|
||
-- Update versions | ||
UPDATE doma_panda.pandadb_version SET major=0, minor=0, patch=22 where component='JEDI'; | ||
UPDATE doma_panda.pandadb_version SET major=0, minor=0, patch=22 where component='SERVER'; | ||
COMMIT; |
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
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 +1 @@ | ||
0.0.21 | ||
0.0.22 |