X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FPg.pm;h=d8a8b9e29aeee2b3ed7ba186f87335a62e5a8d3c;hb=bc1cb85e84e6a30c75763edd478378a68009c722;hp=6264a9708fd06339a4c563fed855583012601695;hpb=9990e58f49603b81e3c1195c0e83595b0333c8df;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm index 6264a97..d8a8b9e 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm @@ -35,9 +35,13 @@ sub _setup { my $self = shift; $self->next::method(@_); + $self->{db_schema} ||= 'public'; -} + if (not defined $self->preserve_case) { + $self->preserve_case(0); + } +} sub _table_uniq_info { my ($self, $table) = @_;