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

Revision 406, 0.6 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::FlavorText;
2
3use strict;
4use warnings;
5use base 'DBIx::Class';
6
7=head1 NAME
8
9Vee::Schema::FlavorText - DBIC class for the C<flavor_text> table
10
11=cut
12
13__PACKAGE__->load_components('Core');
14__PACKAGE__->table('flavor_text');
15__PACKAGE__->add_columns(qw/ pokemon_id generation text /);
16
17__PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokemon_id');
18
19=head1 SEE ALSO
20
21L<Vee::Schema>, L<DBIx::Class>
22
23=head1 AUTHOR
24
25Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
26
27See the included F<AUTHORS> file for a full list of contributers.
28
29=head1 LICENSE
30
31See the included F<LICENSE> file.
32
33=cut
34
351;
Note: See TracBrowser for help on using the browser.