From e03879fe743957c24949000d078f4ffe0d2ef02c Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 13 Feb 2011 16:20:09 +0100 Subject: inside the hook, we check if we can add more than one task for this project the schema is updated to remove the constraint --- lib/jitterbug/Schema/Result/Task.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/jitterbug/Schema/Result/Task.pm') diff --git a/lib/jitterbug/Schema/Result/Task.pm b/lib/jitterbug/Schema/Result/Task.pm index 2eaed62..ad880d8 100644 --- a/lib/jitterbug/Schema/Result/Task.pm +++ b/lib/jitterbug/Schema/Result/Task.pm @@ -25,7 +25,6 @@ __PACKAGE__->add_columns( ); __PACKAGE__->set_primary_key('taskid'); -__PACKAGE__->add_unique_constraint( [qw/projectid/] ); __PACKAGE__->add_unique_constraint( [qw/sha256/] ); __PACKAGE__->belongs_to( project => 'jitterbug::Schema::Result::Project', -- cgit 1.4.1