about summary refs log tree commit diff
path: root/lib/jitterbug
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-01-24 20:53:54 +0100
committerfranck cuny <franck@lumberjaph.net>2011-01-24 20:53:54 +0100
commitcfdb6f235e3b32541a1743c47fbfe17c957116d2 (patch)
treedb7122bde9d163ff30ddcab4f55caefa8f8b997e /lib/jitterbug
parentload tasks and display them on the dashboard (diff)
downloadjitterbug-cfdb6f235e3b32541a1743c47fbfe17c957116d2.tar.gz
add pending status to the schema (TODO: need a script to migrate the schema)
Diffstat (limited to '')
-rw-r--r--lib/jitterbug/Schema/Result/Task.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/jitterbug/Schema/Result/Task.pm b/lib/jitterbug/Schema/Result/Task.pm
index e63e101..331deb4 100644
--- a/lib/jitterbug/Schema/Result/Task.pm
+++ b/lib/jitterbug/Schema/Result/Task.pm
@@ -12,6 +12,10 @@ __PACKAGE__->add_columns(
         data_type      => 'int',
         is_foreign_key => 1,
     },
+    running => {
+        data_type => 'bool',
+        default_value   => 0,
+    },
 );
 
 __PACKAGE__->set_primary_key('taskid');