| Bracket documentation | Contained in the Bracket distribution. |
Bracket::Schema::Result::Region
data_type: INT default_value: undef is_nullable: 0 size: 11
data_type: VARCHAR default_value: undef is_nullable: 0 size: 16
Type: has_many
Related object: Bracket::Schema::Result::RegionScore
Type: has_many
Related object: Bracket::Schema::Result::Team
| Bracket documentation | Contained in the Bracket distribution. |
package Bracket::Schema::Result::Region; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE use strict; use warnings; use base 'DBIx::Class::Core';
__PACKAGE__->table("region");
__PACKAGE__->add_columns( "id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11 }, "name", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 16, }, ); __PACKAGE__->set_primary_key("id"); __PACKAGE__->add_unique_constraint("name", ["name"]);
__PACKAGE__->has_many( "region_scores", "Bracket::Schema::Result::RegionScore", { "foreign.region" => "self.id" }, );
__PACKAGE__->has_many( "teams", "Bracket::Schema::Result::Team", { "foreign.region" => "self.id" }, ); # Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-02 09:36:49 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZvJypnGpz1chQKLdGt/Gyg # You can replace this text with custom content, and it will be preserved on regeneration 1;