Skip to content

Commit

Permalink
Pass schema to columns object
Browse files Browse the repository at this point in the history
  • Loading branch information
vti committed Aug 31, 2011
1 parent a8331f1 commit 9156a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ObjectDB.pm
Expand Up @@ -28,7 +28,7 @@ sub BUILD {

my $columns = delete $self->{columns};

$self->{columns} ||= ObjectDB::Columns->new;
$self->{columns} ||= ObjectDB::Columns->new(schema => $self->schema);
$self->{related} ||= ObjectDB::Related->new;

if ($columns) {
Expand Down

0 comments on commit 9156a23

Please sign in to comment.