andrevdm / postgresql-migration

PostgreSQL Schema Migrations for Haskell
Other
15 stars 4 forks source link

`existsTable` returns unexpected result #22

Open ptkato opened 10 months ago

ptkato commented 10 months ago

existsTable conn "myTable" only works properly if you have a single myTable across all schemas. If you try to check for myTable in the default schema while having a myTable in any other schema, it will reverse the result of the function.