From 349beff931e35e1a523c3da0daef793f0e0033c8 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 5 Sep 2007 03:39:21 +0000 Subject: [PATCH] Bug Fix [ 1788185 ] Inconsistence in tax indicator column --- migration/330-trunk/010_BF1788185.sql | 9 +++++++++ migration/330-trunk/postgresql/010_BF1788185.sql | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 migration/330-trunk/010_BF1788185.sql create mode 100644 migration/330-trunk/postgresql/010_BF1788185.sql diff --git a/migration/330-trunk/010_BF1788185.sql b/migration/330-trunk/010_BF1788185.sql new file mode 100644 index 0000000000..a934b093bb --- /dev/null +++ b/migration/330-trunk/010_BF1788185.sql @@ -0,0 +1,9 @@ +ALTER TABLE I_INVOICE MODIFY(taxindicator NVARCHAR2(10)); + +ALTER TABLE I_ORDER MODIFY(taxindicator NVARCHAR2(10)); + +UPDATE AD_COLUMN + SET fieldlength = 10 + WHERE ad_column_id IN (8991, 9186); + +COMMIT; \ No newline at end of file diff --git a/migration/330-trunk/postgresql/010_BF1788185.sql b/migration/330-trunk/postgresql/010_BF1788185.sql new file mode 100644 index 0000000000..0f1c6873ab --- /dev/null +++ b/migration/330-trunk/postgresql/010_BF1788185.sql @@ -0,0 +1,9 @@ +ALTER TABLE i_invoice ALTER COLUMN taxindicator TYPE varchar(10); + +ALTER TABLE i_order ALTER COLUMN taxindicator TYPE varchar(10); + +UPDATE AD_COLUMN + SET fieldlength = 10 + WHERE ad_column_id IN (8991, 9186); + +COMMIT; \ No newline at end of file