X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI.pm;fp=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI.pm;h=9d6d0eab037a7aa213c518525b92f96807d2a8e6;hb=a168c1c4a411941fd0e9d1cbf8cfc24761f71b20;hp=10c51fc0baf1cdfe18749cf97064699a31b4f405;hpb=fbc9e19665eb41c3ada2166c37e0ba6eaaea515d;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI.pm b/lib/DBIx/Class/Schema/Loader/DBI.pm index 10c51fc..9d6d0ea 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI.pm @@ -169,8 +169,8 @@ sub _table_fk_info { my ($self, $table) = @_; my $dbh = $self->schema->storage->dbh; - my $sth = $dbh->foreign_key_info( '', '', '', '', - $self->db_schema, $table ); + my $sth = $dbh->foreign_key_info( '', $self->db_schema, '', + '', $self->db_schema, $table ); return [] if !$sth; my %rels;