move header() to include(/elements/header.html) so it can be changed in one place...
[freeside.git] / httemplate / docs / upgrade10.html
index a4ed271..ac2c623 100644 (file)
@@ -9,11 +9,13 @@ If migrating from 1.5.7, see README.1.5.8 instead
 
 If migrating from 1.5.0pre6, see README.1.5.7 instead
 
-install JSON
 install DBD::Pg 1.32, 1.41 or later (not 1.40) (or, if you're using a Perl version before 5.6, you could try installing DBD::Pg 1.22 with <a href="http://420.am/~ivan/DBD-Pg-1.22-fixvercmp.patch">this patch</a> and commenting out the "use DBD::Pg 1.32" at the top of DBIx/DBSchema/DBD/Pg.pm)
-install DBIx::DBSchema 0.26
+install DBIx::DBSchema 0.27 (or later)
+  (if you are running Pg version 7.2.x or earlier, install at least
+   DBIx::DBSchema 0.29)
 install Net::SSH 0.08
 install HTML::Widgets::SelectLayers 0.05
+install Business::CreditCard 0.28
 
 - If using Apache::ASP, add PerlSetVar RequestBinaryRead Off and PerlSetVar IncludesDir /your/freeside/document/root/ to your Apache configuration and make sure you are using Apache::ASP minimum version 2.55.
 - In httpd.conf, change &lt;Files ~ \.cgi&gt; to  &lt;Files ~ (\.cgi|\.html)&gt;
@@ -21,7 +23,8 @@ install HTML::Widgets::SelectLayers 0.05
 
 install NetAddr::IP, Chart::Base, Locale::SubCountry, Text::CSV_XS, 
 Spreadsheet::WriteExcel, IO-stringy (IO::Scalar), Frontier::RPC
-(Frontier::RPC2), MIME::Entity (MIME-tools) and IPC::Run3
+(Frontier::RPC2), MIME::Entity (MIME-tools), IPC::Run3, Net::Whois::Raw,
+JSON and Term::ReadKey
 <!-- and Crypt::YAPassGen-->
 
 INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 20, 'svc_external-id', 'en_US', 'External ID' );
@@ -35,7 +38,7 @@ ALTER TABLE cust_main ALTER COLUMN payinfo varchar(512) NULL;
 ALTER TABLE h_cust_main ALTER COLUMN payinfo varchar(512) NULL;
 
 Or on older Pg versions that don't support altering columns directly:
-(write me)
+(dump database, edit & reload)
 
 On recent Pg versions:
 
@@ -68,12 +71,18 @@ run "freeside-upgrade username" to create the remaining new tables and columns
 
 optionally:
 
-CREATE INDEX cust_main6 ON cust_main ( daytime );
-CREATE INDEX cust_main7 ON cust_main ( night );
-CREATE INDEX cust_main8 ON cust_main ( fax );
-CREATE INDEX cust_main9 ON cust_main ( ship_daytime );
-CREATE INDEX cust_main10 ON cust_main ( ship_night );
-CREATE INDEX cust_main11 ON cust_main ( ship_fax );
+CREATE INDEX cust_main4 ON cust_main ( daytime );
+CREATE INDEX cust_main5 ON cust_main ( night );
+CREATE INDEX cust_main6 ON cust_main ( fax );
+CREATE INDEX cust_main7 ON cust_main ( refnum );
+CREATE INDEX cust_main8 ON cust_main ( county );
+CREATE INDEX cust_main9 ON cust_main ( state );
+CREATE INDEX cust_main10 ON cust_main ( country );
+CREATE INDEX cust_main11 ON cust_main ( ship_last );
+CREATE INDEX cust_main12 ON cust_main ( ship_company );
+CREATE INDEX cust_main13 ON cust_main ( ship_daytime );
+CREATE INDEX cust_main14 ON cust_main ( ship_night );
+CREATE INDEX cust_main15 ON cust_main ( ship_fax );
 CREATE INDEX agent2 ON agent ( disabled );
 CREATE INDEX part_bill_event2 ON part_bill_event ( disabled );
 CREATE INDEX cust_pay4 ON cust_pay (_date);
@@ -81,6 +90,4 @@ CREATE INDEX part_referral1 ON part_referral ( disabled );
 CREATE INDEX part_pkg2 ON part_pkg ( promo_code );
 CREATE INDEX h_part_pkg2 ON h_part_pkg ( promo_code );
 
-apache - fix <Files> sections to include .html also
-
 </pre>