Open sqlalchemy-bot opened 9 years ago
Michael Bayer (@zzzeek) wrote:
I see run_migrations_offline(), which implies you are running in --sql mode. As per the docs is not really how batch is meant to work and requires special steps to work around, as table reflection is obviously not available. Is this what you intend ? The "copy_from" flag at the very least is required.
Tim Mitchell wrote:
Yes, I am running in --sql, hadn't noticed that extra parameter requirement in the docs - my bad sorry. Still, a message to that effect would be nice.
Michael Bayer (@zzzeek) wrote:
sure thing, batch is a new / quasi-experimental feature
Changes by Michael Bayer (@zzzeek):
Migrated issue, originally created by Tim Mitchell
Given a migration from
to this
with upgrade step
I get this traceback
Source files attached.
Attachments: pycon-talk.zip