]>
iEval git - gruntmaster-data.git/blob - lib/Gruntmaster/Data/Result/ContestProblem.pm
2 package Gruntmaster
::Data
::Result
::ContestProblem
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Gruntmaster::Data::Result::ContestProblem
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<contest_problems>
22 __PACKAGE__
->table("contest_problems");
40 __PACKAGE__
->add_columns(
42 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 0 },
44 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 0 },
59 __PACKAGE__
->set_primary_key("contest", "problem");
67 Related object: L<Gruntmaster::Data::Result::Contest>
71 __PACKAGE__
->belongs_to(
73 "Gruntmaster::Data::Result::Contest",
75 { is_deferrable
=> 0, on_delete
=> "CASCADE", on_update
=> "NO ACTION" },
82 Related object: L<Gruntmaster::Data::Result::Problem>
86 __PACKAGE__
->belongs_to(
88 "Gruntmaster::Data::Result::Problem",
90 { is_deferrable
=> 0, on_delete
=> "CASCADE", on_update
=> "NO ACTION" },
94 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-05-16 15:03:32
95 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fG3PNI7Ar318nxMchtJNuA
98 # You can replace this text with custom code or comments, and it will be preserved on regeneration
105 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
107 =head1 COPYRIGHT AND LICENSE
109 Copyright (C) 2014 by Marius Gavrilescu
111 This library is free software; you can redistribute it and/or modify
112 it under the same terms as Perl itself, either Perl version 5.18.1 or,
113 at your option, any later version of Perl 5 you may have available.
This page took 0.048886 seconds and 4 git commands to generate.