From d44307d4aede316a65222d2f3fdf14deaa5f981f Mon Sep 17 00:00:00 2001 From: mjudd Date: Fri, 22 Jun 2007 01:15:48 +0000 Subject: [PATCH] Feature Request http://sourceforge.net/tracker/index.php?func=detail&aid=1741222&group_id=176962&atid=879335 --- .../postgresql/012_postcode_lookup.sql | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 migration/320-trunk/postgresql/012_postcode_lookup.sql diff --git a/migration/320-trunk/postgresql/012_postcode_lookup.sql b/migration/320-trunk/postgresql/012_postcode_lookup.sql new file mode 100644 index 0000000000..9b5776f09b --- /dev/null +++ b/migration/320-trunk/postgresql/012_postcode_lookup.sql @@ -0,0 +1,28 @@ +--- +-- Feature 1741222 - Add Post code lookup infrastructure +-- http://sourceforge.net/tracker/index.php?func=detail&aid=1741222&group_id=176962&atid=879335 +-- + + +ALTER TABLE C_BPARTNER_LOCATION ADD + AddressLookup CHAR(1) DEFAULT NULL NULL +; + +ALTER TABLE C_COUNTRY ADD + IsPostcodeLookup CHAR(1) DEFAULT 'N' NULL +; +ALTER TABLE C_COUNTRY ADD + LookupClassname VARCHAR(255) DEFAULT NULL NULL +; +ALTER TABLE C_COUNTRY ADD + LookupClientID VARCHAR(50) DEFAULT NULL NULL +; +ALTER TABLE C_COUNTRY ADD + LookupPassword VARCHAR(50) DEFAULT NULL NULL +; +ALTER TABLE C_COUNTRY ADD + LookupUrl VARCHAR(100) DEFAULT NULL NULL +; + +ALTER TABLE C_COUNTRY ADD CHECK (IsPostcodeLookup IN ('Y','N')); +COMMIT; \ No newline at end of file