templates!!!
[freeside.git] / httemplate / docs / upgrade.html
1 <head>
2   <title>Upgrading to 1.1.x</title>
3 </head>
4 <body>
5 <h1>Upgrading to 1.1.x</h1>
6 <ul>
7   <li>Back up your data and current Freeside installation.
8   <li>Unpack a copy of the 1.0.0 distribution in a separate location.
9   <li>Diff your current installation against the 1.0.0 distribution.
10   <li>Apply all the diffs you found above, if applicable.
11   <li>Apply (at least) the following changes to your database:
12 <pre>
13 ALTER TABLE cust_main CHANGE ss ss char(11) NULL;
14 ALTER TABLE cust_main CHANGE day daytime varchar(20) NULL;
15 ALTER TABLE svc_acct CHANGE password _password varchar(25) NOT NULL;
16 ALTER TABLE part_svc CHANGE svc_acct__password svc_acct___password varchar(25) NULL;
17 ALTER TABLE part_svc CHANGE svc_acct__password_flag svc_acct___password_flag char(1) NULL;
18 ALTER TABLE agent_type CHANGE type atype varchar(80) NOT NULL;
19 </pre>
20   <li>Optionally change the field lengths and types to match a 1.1.x install; see `bin/fs-setup'.
21   <li>Create the necessary <a href="config.html">configuration files</a>,
22   <li>Copy or symlink htdocs and site_perl to the new 1.1.x copies.
23   <li>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.
24 </body>