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