[freeside-commits] freeside/httemplate/docs schema.html, 1.49, 1.50 upgrade10.html, 1.62, 1.63

Jeff Finucane,420,, jeff at wavetail.420.am
Sat May 20 13:06:32 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/docs
In directory wavetail:/tmp/cvs-serv31811/httemplate/docs

Modified Files:
	schema.html upgrade10.html 
Log Message:
first stab at BoM download

Index: upgrade10.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/docs/upgrade10.html,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- upgrade10.html	7 May 2006 20:27:21 -0000	1.62
+++ upgrade10.html	20 May 2006 20:06:30 -0000	1.63
@@ -46,6 +46,14 @@
 <pre>
 ALTER TABLE cust_main ALTER COLUMN payinfo varchar(512) NULL;
 ALTER TABLE h_cust_main ALTER COLUMN payinfo varchar(512) NULL;
+ALTER TABLE cust_pay_batch ADD COLUMN batchnum int NOT NULL;
+ALTER TABLE cust_pay_batch ALTER COLUMN batchnum SET NOT NULL;
+ALTER TABLE cust_pay_batch ADD COLUMN payinfo varchar(512) NULL;
+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) NULL;
+UPDATE h_cust_pay_batch SET payinfo = cardnum;
+ALTER TABLE h_cust_pay_batch DROP COLUMN cardnum;
 </pre>
 On older Pg versions that don't support altering columns directly, you will need to dump the database, edit the schema definitions in the dump file, and reload.
 

Index: schema.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/docs/schema.html,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- schema.html	2 Apr 2005 22:46:44 -0000	1.49
+++ schema.html	20 May 2006 20:06:30 -0000	1.50
@@ -199,10 +199,16 @@
         <li>amount
         <li>_date
       </ul>
-    <li><a name="cust_pay_batch" href="man/FS/cust_pay_batch.html">cust_pay_batch</a> - Pending batch
+    <li><a name="pay_batch" href="man/FS/pay_batch.html">pay_batch</a> - Pending batch
+      <ul>
+        <li>batchnum
+        <li>status
+      </ul>
+    <li><a name="cust_pay_batch" href="man/FS/cust_pay_batch.html">cust_pay_batch</a> - Pending batch members
       <ul>
         <li>paybatchnum
-        <li>cardnum
+        <li>batchnum
+        <li>payinfo - account number
         <li>exp - card expiration
         <li>amount
         <li>invnum - <a href="#cust_bill">invoice</a>



More information about the freeside-commits mailing list