X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=lib%2FChatty%2FModel%2FDB.pm;fp=lib%2FChatty%2FModel%2FDB.pm;h=91b1c19d8410f149b2d66c21d5647e98da0e60cb;hp=0000000000000000000000000000000000000000;hb=20e8ae6917f72f3c381ad9d3aca656a99bd4cd7f;hpb=d4c693d621d476e20ea670aad267c60960963826 diff --git a/lib/Chatty/Model/DB.pm b/lib/Chatty/Model/DB.pm new file mode 100644 index 0000000..91b1c19 --- /dev/null +++ b/lib/Chatty/Model/DB.pm @@ -0,0 +1,44 @@ +package Chatty::Model::DB; + +use strict; +use base 'Catalyst::Model::DBIC::Schema'; + +__PACKAGE__->config( + schema_class => 'Chatty::Schema', + + connect_info => { + dsn => 'dbi:SQLite:db/info.db', + user => '', + password => '', + on_connect_do => q{PRAGMA foreign_keys = ON}, + } +); + +=head1 NAME + +Chatty::Model::DB - Catalyst DBIC Schema Model + +=head1 SYNOPSIS + +See L + +=head1 DESCRIPTION + +L Model using schema L + +=head1 GENERATED BY + +Catalyst::Helper::Model::DBIC::Schema - 0.55 + +=head1 AUTHOR + +Charles McGarvey + +=head1 LICENSE + +This library is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +1;