summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parenta820cfffc9f5413be79409c915565689563dede3 (diff)
part_export schema changes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fs-setup28
1 files changed, 27 insertions, 1 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index c7335a8fb..5b82eaf86 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.69 2002-01-03 17:40:26 ivan Exp $
+# $Id: fs-setup,v 1.70 2002-01-28 05:15:28 ivan Exp $
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
@@ -842,6 +842,32 @@ sub tables_hash_hack {
'unique' => [],
'index' => [ [ 'jobnum' ] ],
},
+
+ 'part_export' => {
+ 'columns' => [
+ 'exportnum', 'int', '', '',
+ 'svcpart', 'int', '', '',
+ 'machine', 'varchar', '', $char_d,
+ 'exporttype', 'varchar', '', $char_d,
+ 'nodomain', 'char', 'NULL', 1,
+ ],
+ 'primary_key' => 'exportnum',
+ 'unique' => [],
+ 'index' => [ [ 'machine' ], [ 'exporttype' ] ],
+ },
+
+ 'part_export_option' => {
+ 'columns' => [
+ 'optionnum', 'int', '', '',
+ 'exportnum', 'int', '', '',
+ 'option', 'varchar', '', $char_d,
+ 'optionvalue', 'text', 'NULL', '',
+ ],
+ 'primary_key' => 'optionnum',
+ 'unique' => [],
+ 'index' => [ [ 'exportnum' ], [ 'option' ] ],
+ },
+
);
%tables;