1package AddressBook::Model;
2use strict; use warnings;
3
4use base 'DBIx::Class::Schema';
5
6use AddressBook::GENModel;
7
8sub get_db_options {
9    return { AutoCommit => 1 };
10}
11
121;
13
14=head1 NAME
15
16AddressBook::Model - schema class for AddressBook
17
18=head1 SYNOPSIS
19
20In your base module:
21
22    use AddressBook::Model;
23    sub schema_base_class { return 'AddressBook::Model'; }
24    use Gantry::Plugins::DBIxClassConn qw( get_schema );
25    use AddressBook::Model::family qw( $FAMILY );
26    use AddressBook::Model::child qw( $CHILD );
27
28=head1 DESCRIPTION
29
30This module was generated by Bigtop.  But, feel free to edit it.  You
31might even want to update these docs.
32
33=over 4
34
35=item get_db_options
36
37The generated version sets AutoCommit to 1, this assumes that you will
38do all transaction work via the DBIx::Class API.
39
40=back
41
42=head1 DEPENDENCIES
43
44    Gantry::Utils::DBIxClass
45    AddressBook::GENModel
46
47=head1 AUTHOR
48
49Phil Crow, E<lt>phil@localdomainE<gt>
50
51=head1 COPYRIGHT AND LICENSE
52
53Copyright (C) 2007 Phil Crow
54
55This library is free software; you can redistribute it and/or modify
56it under the same terms as Perl itself, either Perl version 5.8.6 or,
57at your option, any later version of Perl 5 you may have available.
58
59=cut
60