From ad16265417c0413800fe073776dd8d4b17fcce29 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 9 Oct 2007 18:32:26 +0000 Subject: [PATCH] * [ 1798539 ] Cannot Save a User Query --- migration/330-trunk/017_SaveUserQuery.sql | 25 +++++++++++++++++++ .../postgresql/017_SaveUserQuery.sql | 25 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 migration/330-trunk/017_SaveUserQuery.sql create mode 100644 migration/330-trunk/postgresql/017_SaveUserQuery.sql diff --git a/migration/330-trunk/017_SaveUserQuery.sql b/migration/330-trunk/017_SaveUserQuery.sql new file mode 100644 index 0000000000..e07b408081 --- /dev/null +++ b/migration/330-trunk/017_SaveUserQuery.sql @@ -0,0 +1,25 @@ +ALTER TABLE AD_UserQuery +ADD AD_Tab_ID NUMBER(10); + +INSERT INTO AD_Column +(AD_Column_ID, AD_Client_ID, AD_Org_ID, IsActive, +Created, +Updated, CreatedBy, +UpdatedBy, Name, Description, VERSION, +EntityType, ColumnName, AD_Table_ID, AD_Reference_ID, +FieldLength, IsKey, IsParent, IsMandatory, IsUpdateable, +IsIdentifier, SeqNo, IsTranslated, IsEncrypted, +isselectioncolumn, ad_element_id, callout, issyncdatabase, +isalwaysupdateable +) +VALUES (53251, 0, 0, 'Y', +TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), +TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, +100, 'Tab', 'Tab within a Window', 1, +'D', 'AD_Tab_ID', 814, 19, +1, 'N', 'N', 'Y', 'Y', +'N', 0, 'N', 'N', +'N', 125, null, 'N', +'N' +); +COMMIT; \ No newline at end of file diff --git a/migration/330-trunk/postgresql/017_SaveUserQuery.sql b/migration/330-trunk/postgresql/017_SaveUserQuery.sql new file mode 100644 index 0000000000..e2ce574e01 --- /dev/null +++ b/migration/330-trunk/postgresql/017_SaveUserQuery.sql @@ -0,0 +1,25 @@ +ALTER TABLE AD_UserQuery +ADD COLUMN AD_Tab_ID NUMERIC(10); + +INSERT INTO AD_Column +(AD_Column_ID, AD_Client_ID, AD_Org_ID, IsActive, +Created, +Updated, CreatedBy, +UpdatedBy, Name, Description, VERSION, +EntityType, ColumnName, AD_Table_ID, AD_Reference_ID, +FieldLength, IsKey, IsParent, IsMandatory, IsUpdateable, +IsIdentifier, SeqNo, IsTranslated, IsEncrypted, +isselectioncolumn, ad_element_id, callout, issyncdatabase, +isalwaysupdateable +) +VALUES (53251, 0, 0, 'Y', +TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), +TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, +100, 'Tab', 'Tab within a Window', 1, +'D', 'AD_Tab_ID', 814, 19, +1, 'N', 'N', 'Y', 'Y', +'N', 0, 'N', 'N', +'N', 125, null, 'N', +'N' +); +COMMIT; \ No newline at end of file