X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fupgrade10.html;h=dc60865a5feea750855d4059296ab077dd9da381;hb=a01faeb3a6b823c97535782f072c455298a4ffc7;hp=1d099646f361e1e6534b33b6cb1623ae3275956c;hpb=157e8bdba110b7aac022bd2c2f7b377d3c5b2f85;p=freeside.git diff --git a/httemplate/docs/upgrade10.html b/httemplate/docs/upgrade10.html index 1d099646f..dc60865a5 100644 --- a/httemplate/docs/upgrade10.html +++ b/httemplate/docs/upgrade10.html @@ -10,6 +10,9 @@ install Net::SSH 0.08 install NetAddr::IP, Chart::Base, IPC::ShareLite and Locale::SubCountry +INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 20, 'svc_external-id', 'en_US', 'External ID' ); +INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 21, 'svc_external-title', 'en_US', 'Title' ); + CREATE TABLE cust_bill_pkg_detail ( detailnum serial, pkgnum int NOT NULL, @@ -80,7 +83,7 @@ CREATE INDEX acct_snarf1 ON acct_snarf ( svcnum ); CREATE TABLE svc_external ( svcnum int NOT NULL, - id int NOT NULL, + id int, title varchar(80), PRIMARY KEY (svcnum) ); @@ -162,6 +165,22 @@ CREATE TABLE cust_pay_refund ( CREATE INDEX cust_pay_refund1 ON cust_pay_refund(paynum); CREATE INDEX cust_pay_refund2 ON cust_pay_refund(refundnum); +CREATE TABLE cust_pay_void ( + paynum int NOT NULL, + custnum int NOT NULL, + paid decimal(10,2) NOT NULL, + _date int, + payby char(4) NOT NULL, + payinfo varchar(80), + paybatch varchar(80), + closed char(1), + void_date int, + reason varchar(80), + otaker varchar(32) NOT NULL, + PRIMARY KEY (paynum) +); +CREATE INDEX cust_pay_void1 ON cust_pay_void(custnum); + DROP INDEX cust_bill_pkg1; ALTER TABLE cust_bill_pkg ADD itemdesc varchar(80) NULL; @@ -228,7 +247,7 @@ optionally: mandatory again: dbdef-create username -create-history-tables username cust_bill_pkg_detail router part_svc_router addr_block svc_broadband acct_snarf svc_external +create-history-tables username cust_bill_pkg_detail router part_svc_router addr_block svc_broadband acct_snarf svc_external cust_pay_refund cust_pay_void dbdef-create username apache - fix sections to include .html also