root/veekun/trunk/lib/Vee/Schema/EvoChains.pm @ 406

Revision 406, 0.7 KB (checked in by eevee, 22 months ago)

Database refactoring. Renamed columns and tables to be more consistent and more readable. (#58)

Line 
1package Vee::Schema::EvoChains;
2
3use strict;
4use warnings;
5use base 'DBIx::Class';
6
7=head1 NAME
8
9Vee::Schema::EvoChains - DBIC class for the C<evo_chains> table
10
11=cut
12
13__PACKAGE__->load_components('Core');
14__PACKAGE__->table('evo_chains');
15__PACKAGE__->add_columns(qw/
16    id
17    growth_rate
18    steps
19    baby_item
20/);
21__PACKAGE__->set_primary_key('id');
22
23__PACKAGE__->has_many(pokemon => 'Vee::Schema::Pokemon', 'evo_chain_id');
24
25=head1 SEE ALSO
26
27L<Vee::Schema>, L<DBIx::Class>
28
29=head1 AUTHOR
30
31Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
32
33See the included F<AUTHORS> file for a full list of contributers.
34
35=head1 LICENSE
36
37See the included F<LICENSE> file.
38
39=cut
40
411;
Note: See TracBrowser for help on using the browser.