From 59f38b1dfdc295ac65e8a8d25b378c1457a37522 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 2 Jun 2008 15:23:49 +0000 Subject: [PATCH] Peer review oracle migration script --- migration/351a-trunk/192_BF1977318.sql | 33 ++++++++++++++------------ 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/migration/351a-trunk/192_BF1977318.sql b/migration/351a-trunk/192_BF1977318.sql index 2ad4885987..a5a68d1552 100644 --- a/migration/351a-trunk/192_BF1977318.sql +++ b/migration/351a-trunk/192_BF1977318.sql @@ -1,15 +1,18 @@ --- Jun 2, 2008 9:43:00 PM EST --- Default comment for updating dictionary -UPDATE AD_Column SET FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-06-02 21:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14866 -; - --- Jun 2, 2008 9:43:14 PM EST --- Default comment for updating dictionary -ALTER TABLE R_IssueRecommendation MODIFY R_IssueRecommendation_ID NUMBER(10) NOT NULL -; - -ALTER TABLE R_IssueRecommendation ADD (CONSTRAINT r_issuerecommendation_pkey PRIMARY KEY (r_issuerecommendation_id)) -; - -ALTER TABLE R_IssueKnown ADD (CONSTRAINT RIssueRecommendation_RIssueKno FOREIGN KEY (R_IssueRecommendation_ID) REFERENCES R_IssueRecommendation) -; +-- Jun 2, 2008 9:43:00 PM EST +-- Default comment for updating dictionary +UPDATE AD_COLUMN SET FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-06-02 21:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14866 +; + +-- Jun 2, 2008 9:43:14 PM EST +-- Default comment for updating dictionary +ALTER TABLE R_ISSUERECOMMENDATION MODIFY R_IssueRecommendation_ID NUMBER(10) +; + +--ALTER TABLE R_ISSUERECOMMENDATION MODIFY R_IssueRecommendation_ID NOT NULL +--; + +--ALTER TABLE R_ISSUERECOMMENDATION ADD (CONSTRAINT r_issuerecommendation_pkey PRIMARY KEY (r_issuerecommendation_id)) +--; + +ALTER TABLE R_ISSUEKNOWN ADD (CONSTRAINT RIssueRecommendation_RIssueKno FOREIGN KEY (R_IssueRecommendation_ID) REFERENCES R_ISSUERECOMMENDATION) +;