]> Dogcows Code - chaz/chatty/blobdiff - lib/Chatty/Model/DB.pm
adding DBIx schema files
[chaz/chatty] / lib / Chatty / Model / DB.pm
diff --git a/lib/Chatty/Model/DB.pm b/lib/Chatty/Model/DB.pm
new file mode 100644 (file)
index 0000000..91b1c19
--- /dev/null
@@ -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<Chatty>
+
+=head1 DESCRIPTION
+
+L<Catalyst::Model::DBIC::Schema> Model using schema L<Chatty::Schema>
+
+=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;
This page took 0.020411 seconds and 4 git commands to generate.