summaryrefslogtreecommitdiff
path: root/httemplate/docs
diff options
context:
space:
mode:
authorivan <ivan>2002-01-28 05:15:29 +0000
committerivan <ivan>2002-01-28 05:15:29 +0000
commitb03df92e48df653460cb8b6034a06dd1de6f4095 (patch)
tree68b9877ab8d872feecc6cdaff8ac35fc8b2d32e6 /httemplate/docs
parenta820cfffc9f5413be79409c915565689563dede3 (diff)
part_export schema changes
Diffstat (limited to 'httemplate/docs')
-rw-r--r--httemplate/docs/schema.html15
-rw-r--r--httemplate/docs/upgrade8.html19
2 files changed, 34 insertions, 0 deletions
diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html
index a51bf6e68..3e9189b30 100644
--- a/httemplate/docs/schema.html
+++ b/httemplate/docs/schema.html
@@ -247,6 +247,21 @@
<li>svcpart - <a href="#part_svc">Service definition</a>
<li>quantity - quantity of this service that this package includes
</ul>
+ <li><a name="part_export" href="man/FS/part_export.html">part_export</a> - Export to external provisioning
+ <ul>
+ <li>exportnum - primary key
+ <li>svcpart - <a href="#part_svc">Service definition</a>
+ <li>machine - Machine name
+ <li>exporttype - Export type
+ <li>nodomain - blank or Y: usernames are exported to this service with no domain
+ </ul>
+ <li><a name="part_export_option" href="man/FS/part_export_option.html">part_export_option</a> - provisioning options
+ <ul>
+ <li>optionnum - primary key
+ <li>exportnum - <a href="#part_export">Export</a>
+ <li>option - option name
+ <li>optionvalue - option value
+ </ul>
<li><a name="port" href="man/FS/port.html">port</a> - individual port on a <a href="#nas">nas</a>
<ul>
<li>portnum - primary key
diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html
index 904694879..144242b6a 100644
--- a/httemplate/docs/upgrade8.html
+++ b/httemplate/docs/upgrade8.html
@@ -143,6 +143,25 @@ CREATE TABLE part_bill_event (
);
CREATE INDEX part_bill_event1 ON part_bill_event ( payby );
+CREATE TABLE part_export (
+ exportnum int primary key,
+ svcpart int not null,
+ machine varchar(80) not null,
+ exporttype varchar(80) not null,
+ nodomain char(1) NULL
+);
+CREATE INDEX part_export1 ON part_export ( machine );
+CREATE INDEX part_export2 ON part_export ( exporttype );
+
+CREATE INDEX part_export_option (
+ optionnum int primary key,
+ exportnum int not null,
+ option varchar(80) not null,
+ optionvalue text NULL
+);
+CREATE INDEX part_export_option1 ON part_export ( exportnum );
+CREATE INDEX part_export_option2 ON part_export ( option );
+
ALTER TABLE svc_acct ADD domsvc integer NOT NULL;
ALTER TABLE svc_domain ADD catchall integer NULL;
ALTER TABLE cust_main ADD referral_custnum integer NULL;