]> iEval git - gruntmaster-data.git/blobdiff - lib/Gruntmaster/Data/Result/Job.pm
Update schema
[gruntmaster-data.git] / lib / Gruntmaster / Data / Result / Job.pm
index 6f1084ffe98408dcde59b8f57133ddea2f90d281..b52ddfccf96afb29ef29d41b5eecc1e9cf9ca1f1 100644 (file)
@@ -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
This page took 0.022478 seconds and 4 git commands to generate.