hi all!

another question: i have a postgres database, and i would like to work with schemas for module models. so far so good, but i didn't find much information besides it is available in sa docs.

so, i came into this: http://stackoverflow.com/questions/9298296/sqlalchemy-support-of-postgres-schemas

but, i would like to declare it at the model level, not the metadata level. is it possible?

i tried using *__table_args__ = {'schema': 'foo'}* in *__abstract__*, with and without *declared_attr* decorator and also without *__abstract__*, neither worked and all tables were created on public schema.

any tips? :)

i'm asking this because i have a LOT of tables, and declare *__table_args__* in all of them just because the schema seems kinda weird, since we can mixin almost everything in sa.


thanks in advance!
richard.

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to