From f5266a4d07d116efd732f433d0f4f3a47b143a7d Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 11 Sep 2001 00:08:18 +0000 Subject: faster (cached) fuzzy searches prelim. job queues! fixed part_svc editing --- httemplate/docs/install.html | 4 +++- httemplate/docs/schema.html | 23 +++++++++++++++++++++++ httemplate/docs/upgrade8.html | 19 ++++++++++++++++++- 3 files changed, 44 insertions(+), 2 deletions(-) (limited to 'httemplate/docs') diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 1529c648e..4bf7b44ea 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -109,9 +109,11 @@ require "/usr/local/apache/conf/handler.pl"; diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html index 32c365ec3..e3fe98096 100644 --- a/httemplate/docs/schema.html +++ b/httemplate/docs/schema.html @@ -43,6 +43,14 @@
  • otaker - order taker
  • reason +
  • cust_credit_bill - Credit invoice application. Links a credit to an invoice. +
  • cust_main - Customers (columns in italics are optional)
  • cust_main_invoice - Invoice destinations for email invoices. Note that a customer can have many email destinations for their invoice (either literal or via svcnum), but only one postal destination. @@ -302,5 +312,18 @@
  • typenum - agent type
  • pkgpart - Package definition +
  • queue - job queue + +
  • queue_arg - job arguments + diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html index 67b0e5fe1..d86adc046 100644 --- a/httemplate/docs/upgrade8.html +++ b/httemplate/docs/upgrade8.html @@ -103,6 +103,19 @@ CREATE TABLE part_svc_column ( columnflag char(1) null ); +CREATE TABLE queue ( + jobnum int primary key, + job varchar not null, + _date int not null, + status varchar(80) not null +); + +CREATE TABLE queue_arg ( + argnum int primary key, + jobnum int not null, + arg varchar null +); +CREATE INDEX queue_arg1 ON queue_arg ( jobnum ); ALTER TABLE svc_acct ADD domsvc integer NOT NULL; ALTER TABLE svc_domain ADD catchall integer NULL; @@ -217,5 +230,9 @@ ALTER TABLE cust_refund DROP COLUMN crednum;
  • IMPORTANT: After applying the second set of database changes, run bin/dbdef-create again. -
  • create the conf.dbsrc/user_policy as appropriate for your site +
  • create the user_policy configuration file as appropriate for your site. +
  • Create the `/usr/local/etc/freeside/cache.datasrc' directory + (ownded by the freeside user). +
  • freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup. + -- cgit v1.2.1