root/veekun/trunk/lib/Vee/Schema/MoveEffects.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::MoveEffects;
2
3use strict;
4use warnings;
5use base 'DBIx::Class';
6
7=head1 NAME
8
9Vee::Schema::MoveEffects - DBIC class for the C<move_effects> table
10
11=cut
12
13__PACKAGE__->load_components('Core');
14__PACKAGE__->table('move_effects');
15__PACKAGE__->add_columns(qw/ id priority short_description description /);
16__PACKAGE__->set_primary_key('id');
17
18__PACKAGE__->has_many(moves => 'Vee::Schema::Moves', 'move_effect_id');
19
20=head1 SEE ALSO
21
22L<Vee::Schema>, L<DBIx::Class>
23
24=head1 AUTHOR
25
26Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
27
28See the included F<AUTHORS> file for a full list of contributers.
29
30=head1 LICENSE
31
32See the included F<LICENSE> file.
33
34=cut
35
361;
Note: See TracBrowser for help on using the browser.