Ticket #227 (closed defect: invalid)

Opened 6 years ago

Last modified 4 years ago

Migrating from mysql to postgres, hit some mysql-specific code...

Reported by: skylar.saveland@… Owned by: andrew
Priority: major Milestone:
Component: commands Version: 0.6
Keywords: Cc:


    db.delete_unique('profile_projectexp', ('person', 'project'))
except ValueError:
    db.execute('alter table profile_projectexp drop key profile_projectexp_person_id_6fe12f6f;')

Change History

comment:1 Changed 6 years ago by andrew

I don't see how this is a South issue; the code in question looks to be hand-written for that particular migration.

In fact, I'm not sure why there's a try/except clause there, delete_unique should work for both PostgreSQL and MySQL.

comment:2 Changed 6 years ago by andrew

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.