X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fdocs%2Fupgrade3.html;h=815652aaf16bef81d7b5cfa127ab2a0fdb9d116e;hb=fa884e7ce54e21c7593abe2bc3430bd26a607ce7;hp=bfb717cfa13b1b453a196d9f1d198ebddf686f46;hpb=f6ef3dec7840be2e7ac7c39bed32a7ea68425b2d;p=freeside.git diff --git a/htdocs/docs/upgrade3.html b/htdocs/docs/upgrade3.html index bfb717cfa..815652aaf 100644 --- a/htdocs/docs/upgrade3.html +++ b/htdocs/docs/upgrade3.html @@ -12,5 +12,29 @@
  • Move /var/spool/freeside/dbdef.datasrc to /usr/local/etc/freeside/dbdef.datasrc.
  • Move /var/spool/freeside/counters to /usr/local/etc/freeside/counters.datasrc.
  • Move /var/spool/freeside/export to /usr/local/etc/freeside/export.datasrc. +
  • Apply the following changes to your database: +
    +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);
    +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,
    +   PRIMARY KEY (destnum),
    +   INDEX ( custnum )
    +);
    +
    +
  • Run bin/dbdef-create. This file uses MySQL-specific syntax. If you are running a different database engine you will need to modify it slightly.
  • Copy or symlink htdocs and site_perl to the new copies.