]>
iEval git - gruntmaster-data.git/blob - lib/Gruntmaster/Data/Result/Job.pm
2 package Gruntmaster
::Data
::Result
::Job
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Gruntmaster::Data::Result::Job
16 use base
'DBIx::Class::Core';
22 __PACKAGE__
->table("jobs");
31 sequence: 'jobs_id_seq'
104 __PACKAGE__
->add_columns(
107 data_type
=> "integer",
108 is_auto_increment
=> 1,
110 sequence
=> "jobs_id_seq",
113 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 1 },
115 { data_type
=> "text", is_nullable
=> 1 },
117 { data_type
=> "bigint", is_nullable
=> 0 },
119 { data_type
=> "text", is_nullable
=> 1 },
121 { data_type
=> "text", is_nullable
=> 0 },
123 { data_type
=> "text", is_nullable
=> 0 },
125 { data_type
=> "boolean", default_value
=> \"false
", is_nullable => 0 },
127 { data_type => "text
", is_foreign_key => 1, is_nullable => 0 },
129 { data_type => "integer
", is_nullable => 1 },
131 { data_type => "text
", is_nullable => 1 },
133 { data_type => "text
", is_nullable => 1 },
135 { data_type => "text
", is_nullable => 0 },
137 { data_type => "text
", is_foreign_key => 1, is_nullable => 0 },
150 __PACKAGE__->set_primary_key("id
");
158 Related object: L<Gruntmaster::Data::Result::Contest>
162 __PACKAGE__->belongs_to(
164 "Gruntmaster
::Data
::Result
::Contest
",
169 on_delete => "CASCADE
",
170 on_update => "NO ACTION
",
178 Related object: L<Gruntmaster::Data::Result::User>
182 __PACKAGE__->belongs_to(
184 "Gruntmaster
::Data
::Result
::User
",
186 { is_deferrable => 0, on_delete => "CASCADE
", on_update => "NO ACTION
" },
193 Related object: L<Gruntmaster::Data::Result::Problem>
197 __PACKAGE__->belongs_to(
199 "Gruntmaster
::Data
::Result
::Problem
",
201 { is_deferrable => 0, on_delete => "CASCADE
", on_update => "NO ACTION
" },
205 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-05-16 15:03:32
206 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k3Oq7pNqFoCI5NwY5GaWfQ
209 shift->update({daemon => undef, result => -2, result_text => undef});
224 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
226 =head1 COPYRIGHT AND LICENSE
228 Copyright (C) 2014 by Marius Gavrilescu
230 This library is free software; you can redistribute it and/or modify
231 it under the same terms as Perl itself, either Perl version 5.18.1 or,
232 at your option, any later version of Perl 5 you may have available.
This page took 0.05752 seconds and 4 git commands to generate.