Hello,
we are using elixir for defining a SQL database schema (including
foreign key constraints) that works for different database engines.
The code is like this:
######
from elixir import *
metadata.bind = "psql://...."
class MyEntity(Entity):
....
class ....
....
setup_all()
drop_all()
create_all()
######
Is it possible, in this setup, to specify a Postgresql schema where
_all_ the tables should live? How?
I am aware of using_table_options(schema=...), but adding it to each
class would contribute a lot of redundancy. I was unable develop an
extension of EntityMeta that would set this table option, I'd
appreciate any hints on how to do this -- even if it turns out that
there is a higher-level setting for the default Postgresql schema.
Best regards
Kirill
--
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en.