0
|
1 package Savane::Model::DB; |
|
2 |
|
3 use strict; |
|
4 use base 'Catalyst::Model::DBIC::Schema'; |
|
5 |
|
6 __PACKAGE__->config( |
|
7 schema_class => 'Savane::Schema', |
|
8 connect_info => [ |
|
9 'dbi:mysql:dbname=savane_dev', |
|
10 'root', |
|
11 ], |
|
12 ); |
|
13 |
|
14 =head1 NAME |
|
15 |
|
16 Savane::Model::DB - Catalyst DBIC Schema Model |
|
17 |
|
18 =head1 SYNOPSIS |
|
19 |
|
20 See L<Savane> |
|
21 |
|
22 =head1 DESCRIPTION |
|
23 |
|
24 L<Catalyst::Model::DBIC::Schema> Model using schema L<Savane::Schema> |
|
25 |
|
26 =head1 AUTHOR |
|
27 |
|
28 Michael J. Flickinger C<< <mjflick@gnu.org> >> |
|
29 |
|
30 =head1 LICENSE |
|
31 |
|
32 Savane |
|
33 Copyright (C) 2009 - Savannah Hackers |
|
34 |
|
35 This program is free software: you can redistribute it and/or modify |
|
36 it under the terms of the GNU General Public License as published by |
|
37 the Free Software Foundation, either version 3 of the License, or |
|
38 (at your option) any later version. |
|
39 |
|
40 This program is distributed in the hope that it will be useful, |
|
41 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
42 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
43 GNU General Public License for more details. |
|
44 |
|
45 You should have received a copy of the GNU General Public License |
|
46 along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
47 |
|
48 =cut |
|
49 |
|
50 1; |