Mercurial > hg > savane-forge
view lib/Savane/Model/DB.pm @ 0:02d30d4e5ec8
Initial import
author | Michael J. Flickinger <mjflick@gnu.org> |
---|---|
date | Sun, 18 Jan 2009 15:01:27 -0500 |
parents | |
children | 0ab3d65e56e3 |
line wrap: on
line source
package Savane::Model::DB; use strict; use base 'Catalyst::Model::DBIC::Schema'; __PACKAGE__->config( schema_class => 'Savane::Schema', connect_info => [ 'dbi:mysql:dbname=savane_dev', 'root', ], ); =head1 NAME Savane::Model::DB - Catalyst DBIC Schema Model =head1 SYNOPSIS See L<Savane> =head1 DESCRIPTION L<Catalyst::Model::DBIC::Schema> Model using schema L<Savane::Schema> =head1 AUTHOR Michael J. Flickinger C<< <mjflick@gnu.org> >> =head1 LICENSE Savane Copyright (C) 2009 - Savannah Hackers This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. =cut 1;