summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2006-05-23 15:54:50 +0000
committerivan <ivan>2006-05-23 15:54:50 +0000
commit6fc7405849aee1f88c5ee844d0e091d00df7986e (patch)
tree96384e865cb8834286ffa1f5ee7a109a43ee2799
parent74d840d48a629908e202de13bce668ccd945843b (diff)
adding batch upgrade instructions to 1.7.0 instructions too
-rw-r--r--README.1.7.013
1 files changed, 13 insertions, 0 deletions
diff --git a/README.1.7.0 b/README.1.7.0
index 992a988c8..a6e18d05d 100644
--- a/README.1.7.0
+++ b/README.1.7.0
@@ -1,6 +1,16 @@
install DBIx::DBSchema 0.31 (or later)
install Color::Scheme
+install Data::Table
+
+ALTER TABLE cust_pay_batch ADD COLUMN batchnum int;
+ALTER TABLE cust_pay_batch ALTER COLUMN batchnum SET NOT NULL;
+ALTER TABLE cust_pay_batch ADD COLUMN payinfo varchar(512);
+UPDATE cust_pay_batch SET payinfo = cardnum;
+ALTER TABLE cust_pay_batch DROP COLUMN cardnum;
+ALTER TABLE h_cust_pay_batch ADD COLUMN payinfo varchar(512);
+UPDATE h_cust_pay_batch SET payinfo = cardnum;
+ALTER TABLE h_cust_pay_batch DROP COLUMN cardnum;
make install-perl-modules
run "freeside-upgrade username" to uprade your database schema
@@ -17,6 +27,9 @@ Optional for better zip code report performance:
CREATE INDEX cust_main16 on cust_main ( zip );
CREATE INDEX cust_main17 on cust_main ( ship_zip );
+Optional to eliminate harmless but noisy warnings:
+UPDATE cust_main_county SET exempt_amount = 0 WHERE exempt_amount IS NULL;
+
------
make install-docs