Skip to content

Commit

Permalink
Fix column variable typo
Browse files Browse the repository at this point in the history
attach_datetime is not available during downgrade. It's a copy/paste
bug from the upgrade function.

Partially fix bug 1037183

Change-Id: I97e2cf98a180a6c80e59545a9cda9852fa6ac563
  • Loading branch information
maoy committed Aug 27, 2012
1 parent 5e012d8 commit d14fbc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def downgrade(migrate_engine):
where(volumes.c.id == v['id']).\
values(attach_string=attach_time).execute()
except Exception:
attach_datetime.drop()
attach_string.drop()
raise

old_attachtime.alter(name='attach_time_old')
Expand Down

0 comments on commit d14fbc5

Please sign in to comment.