X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fdocs%2Fupgrade3.html;h=0837e0207cac41e94789c76a13f9be2b0c65a6a4;hb=3bfec7cf75a1a4eb4da1cdf8c64003bd6babcd81;hp=d2795bdb2a3104a484aa12d4e1985a63f97cdbc4;hpb=f57f15482187e6fe502d4569dcd698d3205abd81;p=freeside.git diff --git a/htdocs/docs/upgrade3.html b/htdocs/docs/upgrade3.html index d2795bdb2..0837e0207 100644 --- a/htdocs/docs/upgrade3.html +++ b/htdocs/docs/upgrade3.html @@ -2,7 +2,7 @@
-ALTER TABLE cust_main ADD middle 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 ( +ALTER TABLE cust_main CHANGE paydate paydate varchar(10); +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 cust_main_invoice ( destnum int NOT NULL, custnum int NOT NULL, dest varchar(80) NOT NULL,