On Sun, Apr 8, 2012 at 6:05 AM, Michael Bayer <[email protected]>wrote:

> Alembic 0.3.1 is available at:
>
> http://pypi.python.org/pypi/alembic/
>
> 0.3.1
> =====
> - [bug] bulk_insert() fixes:
>
>    1. bulk_insert() operation was
>       not working most likely since the 0.2 series
>       when used with an engine. #41
>    2. Repaired bulk_insert() to complete when
>       used against a lower-case-t table and executing
>       with only one set of parameters, working
>       around SQLAlchemy bug #2461 in this regard.
>    3. bulk_insert() uses "inline=True" so that phrases
>       like RETURNING and such don't get invoked for
>       single-row bulk inserts.
>    4. bulk_insert() will check that you're passing
>       a list of dictionaries in, raises TypeError
>       if not detected.
>
>
I've tested today, and I felt very good. And I have a question, if I've
autogenerated once, and havn't upgrade to the database, so if I rerun the
autogenerate again, it'll say:

Target database is not up to date.

So I want to know if there is an option so that it can delete the revision
which havenot upgrade to database(maybe I can set the revision number), and
recreate new rivision, for now, I can delete last revision by hand, and run
the autogenerate again it'll be ok.

And I want to know how to let alembic know other python web framework
configuration when init. Or how to customize alembic init process?

Thanks such a good tool.

-- 
I like python!
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
UliWeb <<simple web framework>>: http://code.google.com/p/uliweb/
My Blog: http://hi.baidu.com/limodou

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en.

Reply via email to