summaryrefslogtreecommitdiff
path: root/bin/fs-setup
diff options
context:
space:
mode:
authorivan <ivan>2001-09-11 00:07:30 +0000
committerivan <ivan>2001-09-11 00:07:30 +0000
commit85e59606c0b5eed9780534ffaf554aa32bcf9baf (patch)
tree0374edaabd5233a5adabb85f5649e2cd12c0b91f /bin/fs-setup
parenta594e8f54dd5582ac36eb9e6a2b260d63f3b91fa (diff)
fixing fs-migrate-part_svc
updateing fs-setup for job queues freeside-init for starting freeside-queued
Diffstat (limited to 'bin/fs-setup')
-rwxr-xr-xbin/fs-setup24
1 files changed, 23 insertions, 1 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index 03b5a04a9..9534eb23f 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.56 2001-09-08 00:28:49 khoff Exp $
+# $Id: fs-setup,v 1.57 2001-09-11 00:07:30 ivan Exp $
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
@@ -768,6 +768,28 @@ sub tables_hash_hack {
'index' => [ [ 'portnum' ] ],
},
+ 'queue' => {
+ 'columns' => [
+ 'jobnum', 'int', '', '',
+ 'job', 'varchar', '', '',
+ '_date', 'int', '', '',
+ 'status', 'varchar', '', $char_d,
+ ],
+ 'primary_key' => 'jobnum',
+ 'unique' => [],
+ 'index' => [],
+ },
+
+ 'queue_arg' => {
+ 'columns' => [
+ 'argnum', 'int', '', '',
+ 'jobnum', 'int', '', '',
+ 'arg', 'varchar', 'NULL', '',
+ ],
+ 'primary_key' => 'argnum',
+ 'unique' => [],
+ 'index' => [ [ 'jobnum' ] ],
+ },
);
%tables;