owner TEXT NOT NULL REFERENCES users ON DELETE CASCADE,
private BOOLEAN NOT NULL DEFAULT FALSE,
runner TEXT NOT NULL,
+ solution TEXT ,
statement TEXT NOT NULL,
testcnt INT NOT NULL,
tests TEXT,
data_type: 'text'
is_nullable: 0
+=head2 solution
+
+ data_type: 'text'
+ is_nullable: 1
+
=head2 statement
data_type: 'text'
{ data_type => "boolean", default_value => \"false", is_nullable => 0 },
"runner",
{ data_type => "text", is_nullable => 0 },
+ "solution",
+ { data_type => "text", is_nullable => 1 },
"statement",
{ data_type => "text", is_nullable => 0 },
"testcnt",
__PACKAGE__->many_to_many("contests", "contest_problems", "contest");
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-12-01 14:39:28
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/p3BIfVYSG5AKSSgVgOoOQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-12-07 00:51:56
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KjAtOerTqBqtcMrBtwJ3Bw
sub is_private {
my ($self, $time) = @_;