Add statement writer column to problems
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 30 Mar 2014 10:00:01 +0000 (13:00 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 30 Mar 2014 10:00:01 +0000 (13:00 +0300)
db.sql
lib/Gruntmaster/Data/Result/Problem.pm

diff --git a/db.sql b/db.sql
index ab499d82a58db4ed2f964a2e69e5fd84d7cdbf2b..01a31f35b83e8c946a83c2dab49cbe1d032918b6 100644 (file)
--- a/db.sql
+++ b/db.sql
@@ -27,6 +27,7 @@ CREATE TABLE contests (
 CREATE TABLE problems (
        id        TEXT      PRIMARY KEY,
        author    TEXT,
+       writer    TEXT,
        generator GENERATOR NOT NULL,
        judge     JUDGE     NOT NULL,
        level     PLEVEL    NOT NULL,
index 18e1852be4d06d26efda48594bd34a4a29a12a97..572c48911e5cfe35911690a51ae1e1f26c8ce025 100644 (file)
@@ -33,6 +33,11 @@ __PACKAGE__->table("problems");
   data_type: 'text'
   is_nullable: 1
 
+=head2 writer
+
+  data_type: 'text'
+  is_nullable: 1
+
 =head2 generator
 
   data_type: 'enum'
@@ -131,6 +136,8 @@ __PACKAGE__->add_columns(
   { data_type => "text", is_nullable => 0 },
   "author",
   { data_type => "text", is_nullable => 1 },
+  "writer",
+  { data_type => "text", is_nullable => 1 },
   "generator",
   {
     data_type => "enum",
@@ -274,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-26 15:24:46
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QeM8iOMQE3lqG2tXKbpRxw
+# 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.012587 seconds and 4 git commands to generate.