Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package AviaShow::Model::Schema;
- use strict;
- use base 'Catalyst::Model::DBIC::Schema';
- __PACKAGE__->config(
- schema_class => 'AviaShow::Schema',
- connect_info => {
- dns => 'dbi:mysql:aviashow2009;hostname=127.0.0.1',
- password => '',
- user => 'root',
- mysql_enable_utf8 => 1,
- on_connect_do => [ 'set names "utf8"' ]
- }
- );
- =head1 NAME
- AviaShow::Model::Schema - Catalyst DBIC Schema Model
- =head1 SYNOPSIS
- See L<AviaShow>
- =head1 DESCRIPTION
- L<Catalyst::Model::DBIC::Schema> Model using schema L<AviaShow::Schema>
- =head1 AUTHOR
- A clever guy
- =head1 LICENSE
- This library is free software, you can redistribute it and/or modify
- it under the same terms as Perl itself.
- =cut
- 1;
Add Comment
Please, Sign In to add comment