> On 27 Mar 2015, at 12:19, OnsM <[email protected]> wrote:
> How can i use alembic to upgrade the database in a production environment 
> after freezing source code ?

you mean from an egg installation? use the package notation to reference your 
migrations (and make sure they are included in your egg)

i.e. in alembic.ini

[alembic]
script_location = mypackage:migrations

we do this all the time, works like a charm

hth,

tom

> 
> Any help will be appreciated.
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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.

Reply via email to