findmypast-oss / mssql_ecto

Ecto adapter for Mssqlex
Apache License 2.0
49 stars 20 forks source link

Preloading associations with differing schemas fails #42

Open churchie317 opened 5 years ago

churchie317 commented 5 years ago

Expected Behavior

Prefixing one table with a schema_prefix should not affect any of its associated schemas.

Current Behavior

When prefixing a table with a non-default schema name, its associations inherit that schema_prefix.

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

Your Environment