import rt 2.0.14
[freeside.git] / httemplate / docs / upgrade5.html
1 <head>
2   <title>Upgrading to 1.3.0</title>
3 </head>
4 <body>
5 <h1>Upgrading to 1.2.3 from 1.2.2</h1>
6 <ul>
7   <li>If migrating from 1.0.0, see these <a href="upgrade.html">instructions</a> first.
8   <li>If migrating from less than 1.1.4, see these <a href="upgrade2.html">instructions</a> first.
9   <li>If migrating from less than 1.2.0, see these <a href="upgrade3.html">instructions</a> first.
10   <li>If migrating from less than 1.2.2, see these <a href="upgrade4.html">instructions</a> first.
11   <li>Back up your data and current Freeside installation.
12   <li>Apply the following changes to your database:
13 <pre>
14 ALTER TABLE svc_acct_pop ADD loc CHAR(4);
15 CREATE TABLE prepay_credit (
16   prepaynum int NOT NULL,
17   identifier varchar(80) NOT NULL,
18   amount decimal(10,2) NOT NULL,
19   PRIMARY KEY (prepaynum),
20   INDEX (identifier)
21 );
22 </pre>
23   <li>Copy or symlink htdocs to the new copy.
24   <li>Remove the symlink or directory <i>(your_site_perl_directory)</i>/FS.
25   <li>Change to the FS directory in the new tarball, and build and install the
26       Perl modules:
27     <pre>
28 $ cd FS/
29 $ perl Makefile.PL
30 $ make
31 $ su
32 # make install</pre>
33   <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.
34 </body>