X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FData%2FResult%2FJob.pm;h=b52ddfccf96afb29ef29d41b5eecc1e9cf9ca1f1;hb=b2725d9d3f2603f7adfa0743862d666e21b1cd32;hp=6f1084ffe98408dcde59b8f57133ddea2f90d281;hpb=4ed3f8e7c64594bb4ea26abb1c4fb51a5a8258d6;p=gruntmaster-data.git diff --git a/lib/Gruntmaster/Data/Result/Job.pm b/lib/Gruntmaster/Data/Result/Job.pm index 6f1084f..b52ddfc 100644 --- a/lib/Gruntmaster/Data/Result/Job.pm +++ b/lib/Gruntmaster/Data/Result/Job.pm @@ -34,7 +34,7 @@ __PACKAGE__->table("jobs"); data_type: 'text' is_foreign_key: 1 - is_nullable: 0 + is_nullable: 1 =head2 daemon @@ -110,7 +110,7 @@ __PACKAGE__->add_columns( sequence => "jobs_id_seq", }, "contest", - { data_type => "text", is_foreign_key => 1, is_nullable => 0 }, + { data_type => "text", is_foreign_key => 1, is_nullable => 1 }, "daemon", { data_type => "text", is_nullable => 1 }, "date", @@ -163,7 +163,12 @@ __PACKAGE__->belongs_to( "contest", "Gruntmaster::Data::Result::Contest", { id => "contest" }, - { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" }, + { + is_deferrable => 0, + join_type => "LEFT", + on_delete => "NO ACTION", + on_update => "NO ACTION", + }, ); =head2 owner @@ -197,8 +202,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-06 12:41:16 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lIETgGgMTSOUUuDuFa/+SQ +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-24 09:25:07 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mDHQWFk/K7q/nHu+Z3a0+A # You can replace this text with custom code or comments, and it will be preserved on regeneration