Skip to content

Commit

Permalink
Shift things round
Browse files Browse the repository at this point in the history
  • Loading branch information
bobtfish committed Jun 9, 2011
1 parent 8f35d59 commit 2b0f9c8
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 217 deletions.
13 changes: 8 additions & 5 deletions Wardrobe.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ default_view HTML
disable_component_resolution_regex_fallback 1

# Database Connection details
db_connection_string dbi:Pg:dbname=wardrobe
db_username username
db_password password

dbic_trace 1
<Model::Bindings>
<connect_info>
dsn 'dbi:Pg:dbname=wardrobe',
user 'username',
password 'password',
pg_enable_utf8 1
</connect_info>
</Model::Bindings>
5 changes: 2 additions & 3 deletions lib/Wardrobe/Model/Bindings.pm
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

package Wardrobe::Model::Bindings;
use Moose;
extends 'Catalyst::Model';
extends 'Catalyst::Model::DBIC::Schema';

__PACKAGE__->config (
schema_class => 'WardrobeModel',
schema_class => 'WardrobeModel::WardrobeORM',
);
17 changes: 0 additions & 17 deletions lib/WardrobeModel/Categories.pm

This file was deleted.

39 changes: 0 additions & 39 deletions lib/WardrobeModel/Clothing.pm

This file was deleted.

96 changes: 0 additions & 96 deletions lib/WardrobeModel/Interface.pm

This file was deleted.

47 changes: 0 additions & 47 deletions lib/WardrobeModel/Outfit.pm

This file was deleted.

Loading

0 comments on commit 2b0f9c8

Please sign in to comment.