Ticket #65 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

Dry run fails from r107 on in a case where older versions work correctly.

Reported by: initcrash@… Owned by: andrew
Priority: major Milestone:
Component: databaseapi Version:
Keywords: Cc:

Description

in my case it said:
Running migrations for people:

  • Migrating forwards to 0008_two_keys.

    people: 0008_two_keys

Traceback (most recent call last):

File "/var/www/django-plugins/south/migration.py", line 230, in run_migrations

getattr(klass(), torun)()

File "/var/www/etrub/people/migrations/0008_two_keys.py", line 9, in forwards

db.rename_column('people_person','public_key','pgp_key')

File "/var/www/django-plugins/south/db/mysql.py", line 27, in rename_column

raise ValueError?("No column '%s' in '%s'." % (old, table_name))

ValueError?: No column 'public_key' in 'people_person'.

! Error found during dry run of migration! Aborting.

i downgraded to r106 and it worked fine.

Change History

comment:1 Changed 6 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [116].

Note: See TracTickets for help on using tickets.