summaryrefslogtreecommitdiff
path: root/htdocs/docs/upgrade3.html
diff options
context:
space:
mode:
authorivan <ivan>1999-01-18 09:22:42 +0000
committerivan <ivan>1999-01-18 09:22:42 +0000
commitc93520accf00e15095e7af5fcb59caed2bd9e556 (patch)
tree0fb501a33e9b55ba467a0a516ad1d90363342a83 /htdocs/docs/upgrade3.html
parente74e6d0896eae348d54dbd6e436f37a2a0e69389 (diff)
changes to track email addresses for email invoicing
Diffstat (limited to 'htdocs/docs/upgrade3.html')
-rw-r--r--htdocs/docs/upgrade3.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/htdocs/docs/upgrade3.html b/htdocs/docs/upgrade3.html
index d2795bdb2..539fe5d82 100644
--- a/htdocs/docs/upgrade3.html
+++ b/htdocs/docs/upgrade3.html
@@ -14,18 +14,19 @@
<li>Move /var/spool/freeside/export to /usr/local/etc/freeside/export.<i>datasrc</i>.
<li>Apply the following changes to your database:
<pre>
-ALTER TABLE cust_main ADD middle varchar(80) NULL;
+<!-- ALTER TABLE cust_main ADD middle varchar(80) NULL;
ALTER TABLE cust_main ADD titlenum int NULL;
-ALTER TABLE cust_main CHANGE state state varchar(80) NULL;
+-->ALTER TABLE cust_main CHANGE state state varchar(80) NULL;
ALTER TABLE cust_main_county CHANGE state state varchar(80) NULL;
ALTER TABLE cust_main_county ADD country char(2);
-UPDATE cust_main_county SET country = "US" where country IS NULL;
-CREATE TABLE part_title (
+UPDATE cust_main SET country = "US" where country IS NULL OR country = '';
+UPDATE cust_main_county SET country = "US" where country IS NULL OR country = "";
+<!--CREATE TABLE part_title (
titlenum int NOT NULL,
title varchar(80) NOT NULL,
PRIMARY KEY (titlenum)
);
-CREATE TABLE cust_main_invoice (
+-->CREATE TABLE cust_main_invoice (
destnum int NOT NULL,
custnum int NOT NULL,
dest varchar(80) NOT NULL,