diff options
author | ivan <ivan> | 2001-09-03 22:07:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-09-03 22:07:39 +0000 |
commit | fbcb45dfe5a1bce7981fe4527176b9fdf2ec54b7 (patch) | |
tree | f23551e188aaf6965bb61c13ccae3a48764aab02 /httemplate/docs | |
parent | 33204e66fb11e9e551b95e8656d088506745e361 (diff) |
fix more bugs
Diffstat (limited to 'httemplate/docs')
-rw-r--r-- | httemplate/docs/signup.html | 2 | ||||
-rw-r--r-- | httemplate/docs/upgrade8.html | 30 |
2 files changed, 29 insertions, 3 deletions
diff --git a/httemplate/docs/signup.html b/httemplate/docs/signup.html index f99b7ebb5..262b697bb 100644 --- a/httemplate/docs/signup.html +++ b/httemplate/docs/signup.html @@ -42,7 +42,7 @@ Optional: <li>$password <li>$email_name - first and last name </ul> - (an example file is included as <b>fs_signup/ieak.template</b>) + (an example file is included as <b>fs_signup/ieak.template</b>) See the <a href="http://www.microsoft.com/windows/ieak/techinfo/deploy/60/en/toc.asp">IEAK documentation</a> for more information. <li>If you create a <b>/usr/local/freeside/cck.template</b> file on the external machine, the variables defined will be sent to Netscape users with MIME type <i>application/x-netscape-autoconfigure-dialer-v2</i>. This file will be processed with <a href="http://search.cpan.org/doc/MJD/Text-Template-1.23/Template.pm">Text::Template</a> with the following variables available: <ul> <li>$ac - area code of selected POP diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html index 6d5018816..518d76168 100644 --- a/httemplate/docs/upgrade8.html +++ b/httemplate/docs/upgrade8.html @@ -181,8 +181,34 @@ ALTER TABLE cust_main ADD COLUMN comments varchar NULL; <table border><tr><th>PostgreSQL</th><th>MySQL, others</th></tr> <tr><td> <font size=-1><pre> -ALTER TABLE cust_pay RENAME COLUMN invnum TO depreciated; -ALTER TABLE cust_refund RENAME COLUMN crednum TO depreciated; +CREATE TABLE cust_pay_temp ( + paynum int primary key, + custnum int not null, + paid decimal(10,2) not null, + _date int null, + payby char(4) not null, + payinfo varchar(16) null, + paybatch varchar(80) null +); +INSERT INTO cust_pay_temp SELECT * from cust_pay; +DROP TABLE cust_pay; +ALTER TABLE cust_pay_temp RENAME TO cust_pay; +CREATE UNIQUE INDEX cust_pay1 ON cust_pay paynum; +CREATE TABLE cust_refund_temp ( + refundnum int primary key, + custnum int not null, + _date int null, + refund decimal(10,2) not null, + otaker varchar(8) not null, + reason varchar(80) not null, + payby char(4) not null, + payinfo varchar(16) null, + paybatch varchar(80) null +); +INSERT INTO cust_refund_temp SELECT * from cust_refund; +DROP TABLE cust_refund; +ALTER TABLE cust_refund_temp RENAME TO cust_refund; +CREATE UNIQUE INDEX cust_refund1 ON cust_refund refundnum; </pre></font> </td><td> <font size=-1><pre> |