[sqlalchemy] Re: does tometadata have to change foreign key schema name if it already specified?

2009-01-21 Thread sector119
Thank you, Michael, it was very helpful! Michael Bayer написав: this can be changed but the function still makes no sense. What if you also said t3 = users.tometadata(metadata, schema='SOME_SCHEMA') ? then you would want the system.users.id FK to be changed.the tometadata() approach

[sqlalchemy] Re: does tometadata have to change foreign key schema name if it already specified?

2009-01-20 Thread Michael Bayer
this can be changed but the function still makes no sense. What if you also said t3 = users.tometadata(metadata, schema='SOME_SCHEMA') ? then you would want the system.users.id FK to be changed.the tometadata() approach doesn't provide an API that can take the use case of