djrobstep / migra

Like diff but for PostgreSQL schemas

Home Page:https://databaseci.com/docs/migra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

schema arg

human1ty opened this issue · comments

hi

The diff methods do not tolerate the schema arg.
Instead the diff returned for all schemes.

schemadiff_sql(desired_db, schema='my_one_single_schema_to_find_diff')
same with sync_schema_to

The expected is that the diff returned only in context of the specified schema in the schema arg

The odd thing though is that migra cli version DO tolerate the --schema arg...