source: server/trunk/web/lib/Sophie/Model/Base.pm @ 42

Last change on this file since 42 was 42, checked in by nanardon, 14 years ago
  • add dump/load distrib config using Yaml
  • separate DB connection for session
File size: 685 bytes
Line 
1package Sophie::Model::Base;
2
3use strict;
4use base 'Catalyst::Model::DBIC::Schema';
5
6__PACKAGE__->config(
7    schema_class => 'Sophie::Base',
8    connect_info => {
9        dsn => '',
10        private_cache_key => __PACKAGE__,
11        AutoCommit => 0,
12    },   
13);
14
15=head1 NAME
16
17Sophie::Model::Sophie - Catalyst DBIC Schema Model
18
19=head1 SYNOPSIS
20
21See L<Sophie>
22
23=head1 DESCRIPTION
24
25L<Catalyst::Model::DBIC::Schema> Model using schema L<Sophie::Base>
26
27=head1 GENERATED BY
28
29Catalyst::Helper::Model::DBIC::Schema - 0.43
30
31=head1 AUTHOR
32
33Olivier Thauvin
34
35=head1 LICENSE
36
37This library is free software, you can redistribute it and/or modify
38it under the same terms as Perl itself.
39
40=cut
41
421;
Note: See TracBrowser for help on using the repository browser.