ACLs: finish group edit (agents + rights) & browse
[freeside.git] / README.1.7.0
1
2 install DBIx::DBSchema 0.31 (or later)
3 install Color::Scheme
4 install Data::Table
5
6 ALTER TABLE cust_pay_batch ADD COLUMN batchnum int;
7 ALTER TABLE cust_pay_batch ALTER COLUMN batchnum SET NOT NULL;
8 ALTER TABLE cust_pay_batch ADD COLUMN payinfo varchar(512);
9 UPDATE cust_pay_batch SET payinfo = cardnum;
10 ALTER TABLE cust_pay_batch DROP COLUMN cardnum;
11 ALTER TABLE h_cust_pay_batch ADD COLUMN payinfo varchar(512);
12 UPDATE h_cust_pay_batch SET payinfo = cardnum;
13 ALTER TABLE h_cust_pay_batch DROP COLUMN cardnum;
14
15 make install-perl-modules
16 run "freeside-upgrade username" to uprade your database schema
17
18 (if freeside-upgrade hangs, try stopping Apache, all Freeside processes, and
19  anything else connected to your database, especially on older Pg versions)
20
21 If you have any records in the cust_tax_exempt table, you *MUST* migrate them
22 to the new cust_tax_exempt_pkg table.  An example script to get you started is
23 in bin/fs-migrate-cust_tax_exempt - it may need to be customized for your
24 specific data.
25
26 Optional for better zip code report performance:
27 CREATE INDEX cust_main16 on cust_main ( zip );
28 CREATE INDEX cust_main17 on cust_main ( ship_zip );
29
30 Optional to eliminate harmless but noisy warnings:
31 UPDATE cust_main_county SET exempt_amount = 0 WHERE exempt_amount IS NULL;
32
33 ------
34
35 make install-docs
36  (or "make deploy" if you've got everything setup in the Makefile)
37
38 (errors?  try "make clean" then "make install-perl-modules", then
39  "make install-docs" or "make deploy" again)
40