]> iEval git - gruntmaster-data.git/blobdiff - lib/Gruntmaster/Data/Result/Problem.pm
Add statement writer column to problems
[gruntmaster-data.git] / lib / Gruntmaster / Data / Result / Problem.pm
index 5359df72997d8ffa633b618aa7e0f13feb0715b4..572c48911e5cfe35911690a51ae1e1f26c8ce025 100644 (file)
@@ -31,7 +31,12 @@ __PACKAGE__->table("problems");
 =head2 author
 
   data_type: 'text'
-  is_nullable: 0
+  is_nullable: 1
+
+=head2 writer
+
+  data_type: 'text'
+  is_nullable: 1
 
 =head2 generator
 
@@ -70,6 +75,7 @@ __PACKAGE__->table("problems");
 =head2 private
 
   data_type: 'boolean'
+  default_value: false
   is_nullable: 0
 
 =head2 runner
@@ -88,6 +94,11 @@ __PACKAGE__->table("problems");
   data_type: 'integer'
   is_nullable: 0
 
+=head2 tests
+
+  data_type: 'text'
+  is_nullable: 1
+
 =head2 timeout
 
   data_type: 'real'
@@ -98,6 +109,16 @@ __PACKAGE__->table("problems");
   data_type: 'integer'
   is_nullable: 1
 
+=head2 genformat
+
+  data_type: 'text'
+  is_nullable: 1
+
+=head2 gensource
+
+  data_type: 'text'
+  is_nullable: 1
+
 =head2 verformat
 
   data_type: 'text'
@@ -114,7 +135,9 @@ __PACKAGE__->add_columns(
   "id",
   { data_type => "text", is_nullable => 0 },
   "author",
-  { data_type => "text", is_nullable => 0 },
+  { data_type => "text", is_nullable => 1 },
+  "writer",
+  { data_type => "text", is_nullable => 1 },
   "generator",
   {
     data_type => "enum",
@@ -143,7 +166,7 @@ __PACKAGE__->add_columns(
   "owner",
   { data_type => "text", is_foreign_key => 1, is_nullable => 0 },
   "private",
-  { data_type => "boolean", is_nullable => 0 },
+  { data_type => "boolean", default_value => \"false", is_nullable => 0 },
   "runner",
   {
     data_type => "enum",
@@ -157,10 +180,16 @@ __PACKAGE__->add_columns(
   { data_type => "text", is_nullable => 0 },
   "testcnt",
   { data_type => "integer", is_nullable => 0 },
+  "tests",
+  { data_type => "text", is_nullable => 1 },
   "timeout",
   { data_type => "real", is_nullable => 0 },
   "value",
   { data_type => "integer", is_nullable => 1 },
+  "genformat",
+  { data_type => "text", is_nullable => 1 },
+  "gensource",
+  { data_type => "text", is_nullable => 1 },
   "verformat",
   { data_type => "text", is_nullable => 1 },
   "versource",
@@ -252,8 +281,8 @@ Composing rels: L</contest_problems> -> contest
 __PACKAGE__->many_to_many("contests", "contest_problems", "contest");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-06 12:41:16
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:y1LUGcxNJxUMgMXqvAkKYQ
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-30 12:59:34
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ujwyMJ5Pup1i5NKXkPkg2g
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
This page took 0.02424 seconds and 4 git commands to generate.