X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=README.1.5.0pre6;h=f2ee7e20f914915e49acd439b8e1e2ff879de819;hp=ba9129fab98f323801b30d305d018d96ef87910b;hb=d596debbf5a491141cfa86454b6f74fc70de75af;hpb=157e8bdba110b7aac022bd2c2f7b377d3c5b2f85 diff --git a/README.1.5.0pre6 b/README.1.5.0pre6 index ba9129fab..f2ee7e20f 100644 --- a/README.1.5.0pre6 +++ b/README.1.5.0pre6 @@ -9,7 +9,38 @@ 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); + +alter table svc_external alter column id drop not null; +alter table h_svc_external alter column id drop not null; + +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 part_pkg_option ( + optionnum int primary key, + pkgpart int not null, + optionname varchar(80) not null, + optionvalue text NULL +); +CREATE INDEX part_pkg_option1 ON part_pkg_option ( pkgpart ); +CREATE INDEX part_pkg_option2 ON part_pkg_option ( optionname ); + dbdef-create username -create-history-tables username cust_pay_refund +create-history-tables username cust_pay_refund cust_pay_void part_pkg_option dbdef-create username