]>
iEval git - gruntmaster-data.git/blob - lib/Gruntmaster/Data/Result/Open.pm
2 package Gruntmaster
::Data
::Result
::Open
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Gruntmaster::Data::Result::Open
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<opens>
22 __PACKAGE__
->table("opens");
51 __PACKAGE__
->add_columns(
53 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 0 },
55 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 0 },
57 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 0 },
59 { data_type
=> "bigint", is_nullable
=> 0 },
76 __PACKAGE__
->set_primary_key("contest", "problem", "owner");
84 Related object: L<Gruntmaster::Data::Result::Contest>
88 __PACKAGE__
->belongs_to(
90 "Gruntmaster::Data::Result::Contest",
92 { is_deferrable
=> 0, on_delete
=> "CASCADE", on_update
=> "NO ACTION" },
99 Related object: L<Gruntmaster::Data::Result::User>
103 __PACKAGE__
->belongs_to(
105 "Gruntmaster::Data::Result::User",
107 { is_deferrable
=> 0, on_delete
=> "CASCADE", on_update
=> "NO ACTION" },
114 Related object: L<Gruntmaster::Data::Result::Problem>
118 __PACKAGE__
->belongs_to(
120 "Gruntmaster::Data::Result::Problem",
122 { is_deferrable
=> 0, on_delete
=> "CASCADE", on_update
=> "NO ACTION" },
126 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-05-16 15:03:32
127 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VihrUa/CI0cg8k8wpHxQDg
129 sub rawowner
{ shift->get_column('owner') }
130 sub rawproblem
{ shift->get_column('problem') }
138 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
140 =head1 COPYRIGHT AND LICENSE
142 Copyright (C) 2014 by Marius Gavrilescu
144 This library is free software; you can redistribute it and/or modify
145 it under the same terms as Perl itself, either Perl version 5.18.1 or,
146 at your option, any later version of Perl 5 you may have available.
This page took 0.052321 seconds and 4 git commands to generate.