Guest User

Untitled

a guest
Jun 22nd, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. package AviaShow::Model::Schema;
  2.  
  3. use strict;
  4. use base 'Catalyst::Model::DBIC::Schema';
  5.  
  6. __PACKAGE__->config(
  7. schema_class => 'AviaShow::Schema',
  8. connect_info => {
  9. dns => 'dbi:mysql:aviashow2009;hostname=127.0.0.1',
  10. password => '',
  11. user => 'root',
  12. mysql_enable_utf8 => 1,
  13. on_connect_do => [ 'set names "utf8"' ]
  14. }
  15. );
  16.  
  17. =head1 NAME
  18.  
  19. AviaShow::Model::Schema - Catalyst DBIC Schema Model
  20. =head1 SYNOPSIS
  21.  
  22. See L<AviaShow>
  23.  
  24. =head1 DESCRIPTION
  25.  
  26. L<Catalyst::Model::DBIC::Schema> Model using schema L<AviaShow::Schema>
  27.  
  28. =head1 AUTHOR
  29.  
  30. A clever guy
  31.  
  32. =head1 LICENSE
  33.  
  34. This library is free software, you can redistribute it and/or modify
  35. it under the same terms as Perl itself.
  36.  
  37. =cut
  38.  
  39. 1;
Add Comment
Please, Sign In to add comment