0815e988be356da7416809f263be78d4ed917ac5
2 package Gruntmaster
::Data
::Result
::ContestStatus
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Gruntmaster::Data::Result::ContestStatus - List of (contest, user, result)
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<contest_status>
22 __PACKAGE__
->table("contest_status");
50 __PACKAGE__
->add_columns(
52 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 0 },
54 { data_type
=> "text", is_foreign_key
=> 1, is_nullable
=> 0 },
56 { data_type
=> "integer", is_nullable
=> 0 },
58 { data_type
=> "integer", is_nullable
=> 0 },
73 __PACKAGE__
->set_primary_key("owner", "contest");
81 Related object: L<Gruntmaster::Data::Result::Contest>
85 __PACKAGE__
->belongs_to(
87 "Gruntmaster::Data::Result::Contest",
89 { is_deferrable
=> 0, on_delete
=> "CASCADE", on_update
=> "NO ACTION" },
96 Related object: L<Gruntmaster::Data::Result::User>
100 __PACKAGE__
->belongs_to(
102 "Gruntmaster::Data::Result::User",
104 { is_deferrable
=> 0, on_delete
=> "CASCADE", on_update
=> "NO ACTION" },
108 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-12-19 16:44:22
109 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IkY4FNON0SrxrP8oNOXoHg
111 sub rawowner
{ shift->get_column('owner') }
This page took 0.025519 seconds and 3 git commands to generate.