From 8d274a913d99814d21353a3c99b516169d979957 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Wed, 16 Nov 2005 03:08:06 +0000 Subject: [PATCH] couple bug fixes --- docs/upgrades/upgrade_6.7.8-6.8.0.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/upgrades/upgrade_6.7.8-6.8.0.pl b/docs/upgrades/upgrade_6.7.8-6.8.0.pl index 57ad42021..7dcb4dad5 100644 --- a/docs/upgrades/upgrade_6.7.8-6.8.0.pl +++ b/docs/upgrades/upgrade_6.7.8-6.8.0.pl @@ -11,6 +11,7 @@ use lib "../../lib"; use strict; use FileHandle; +use File::Copy qw(cp); use Getopt::Long; use WebGUI::Session; use WebGUI::SQL; @@ -159,13 +160,13 @@ sub addWorkflow { print "\tAdding Workflow\n" unless ($quiet); WebGUI::SQL->write("create table WorkflowSchedule ( taskId varchar(22) binary not null primary key, - enabled int not null default 1 + enabled int not null default 1, minuteOfHour varchar(25), hourOfDay varchar(25), dayOfMonth varchar(25), monthOfYear varchar(25), dayOfWeek varchar(25), - workflowId binary varchar(22) not null + workflowId varchar(22) binary not null )"); WebGUI::SQL->write("create table WofklowInstance ( instanceId varchar(22) binary not null primary key,