Hi,
I'm trying to create tables using alembic with custom engine/metadata
objects, already configured by our other library. I want all the tables to
default to one schema – schema specified in the metadata. I have the
original code:
context.configure(
connection=connection,
target_metadata=target_metadata
)
where the target_metadata is our metadata object set-up somewhere else and
has properly set schema value.
Alembic still creates the table in the "public" schema (PostgreSQL) on
'upgrade'
My goal in other words: I want all tables to default to specific schema
implicitly, use explicit schema= in op.create_table only when really needed.
What I am doing wrong?
Thanks,
Stefan
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.