templatable invoices
[freeside.git] / htdocs / docs / upgrade6.html
1 <head>
2   <title>Upgrading to 1.2.4</title>
3 </head>
4 <body>
5 <h1>Upgrading to 1.2.4 from 1.2.3</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>If migrating from less than 1.2.3, see these <a href="upgrade5.html">instructions</a> first.
12   <li>Back up your data and current Freeside installation.
13   <li>Apply the following changes to your database:
14 <pre>
15 CREATE TABLE domain_record (
16   recnum int NOT NULL,
17   svcnum int NOT NULL,
18   reczone varchar(80) NOT NULL,
19   recaf char(2) NOT NULL,
20   rectype char(5) NOT NULL,
21   recdata varchar(80) NOT NULL,
22   PRIMARY KEY (recnum)
23 );
24 CREATE TABLE svc_www (
25   svcnum int NOT NULL,
26   recnum int NOT NULL,
27   usersvc int NOT NULL,
28   PRIMARY KEY (svcnum)
29 );
30 ALTER TABLE part_svc ADD svc_www__recnum varchar(80) NULL;
31 ALTER TABLE part_svc ADD svc_www__recnum_flag char(1) NULL;
32 ALTER TABLE part_svc ADD svc_www__usersvc varchar(80) NULL;
33 ALTER TABLE part_svc ADD svc_www__uesrsvc_flag char(1) NULL;
34 ALTER TABLE svc_acct CHANGE _password _password varchar(50) NULL;
35
36 </pre>
37   <li>Copy or symlink htdocs to the new copy.
38   <li>Remove the symlink or directory <i>(your_site_perl_directory)</i>/FS.
39   <li>Change to the FS directory in the new tarball, and build and install the
40       Perl modules:
41     <pre>
42 $ cd FS/
43 $ perl Makefile.PL
44 $ make
45 $ su
46 # make install</pre>
47   <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.
48 </body>