|
Revision 406, 0.6 KB
(checked in by eevee, 2 years ago)
|
|
Database refactoring. Renamed columns and tables to be more consistent and more readable. (#58)
|
| Line | |
|---|
| 1 | package Vee::Schema::GalleryKeywords; |
|---|
| 2 | |
|---|
| 3 | use strict; |
|---|
| 4 | use warnings; |
|---|
| 5 | use base 'DBIx::Class'; |
|---|
| 6 | |
|---|
| 7 | =head1 NAME |
|---|
| 8 | |
|---|
| 9 | Vee::Schema::GalleryKeywords - DBIC class for the C<gallerykeywords> table |
|---|
| 10 | |
|---|
| 11 | =cut |
|---|
| 12 | |
|---|
| 13 | __PACKAGE__->load_components('Core'); |
|---|
| 14 | __PACKAGE__->table('gallery_keywords'); |
|---|
| 15 | __PACKAGE__->add_columns(qw/ id keyword category description /); |
|---|
| 16 | __PACKAGE__->set_primary_key('id'); |
|---|
| 17 | |
|---|
| 18 | =head1 SEE ALSO |
|---|
| 19 | |
|---|
| 20 | L<Vee::Schema>, L<DBIx::Class> |
|---|
| 21 | |
|---|
| 22 | =head1 AUTHOR |
|---|
| 23 | |
|---|
| 24 | Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>) |
|---|
| 25 | |
|---|
| 26 | See the included F<AUTHORS> file for a full list of contributers. |
|---|
| 27 | |
|---|
| 28 | =head1 LICENSE |
|---|
| 29 | |
|---|
| 30 | See the included F<LICENSE> file. |
|---|
| 31 | |
|---|
| 32 | =cut |
|---|
| 33 | |
|---|
| 34 | 1; |
|---|