dcramer/sentry — Issue #300: Sentry migration error
Author: jithin1987
Created: 2012-01-14 10:35:15+00:00
State: open

When running migration against latest from trunk I am getting the following error.

Running migrations for sentry:
- Migrating forwards to 0035_auto__chg_field_option_value__chg_field_projectoption_value.
> sentry:0032_auto__add_eventmeta
! Error found during real run of migration! Aborting.

! Since you have a database that does not support running
! schema-altering statements in transactions, we have had
! to leave it in an interim state between migrations.

! You *might* be able to recover with: = DROP TABLE `sentry_groupmeta` CASCADE; []

! The South developers regret this has happened, and would
! like to gently persuade you to consider a slightly
! easier-to-deal-with DBMS.
............
File "/Users/jithine/devel/cucumbertown/dj_trunk/cucumbertown/ext/south/migration/migrators.py", line 56, in
return (lambda: direction(orm))
File "/Users/jithine/devel/cucumbertown/dj_trunk/cucumbertown/ext/sentry/migrations/0032_auto__add_eventmeta.py", line 21, in forwards
db.create_unique('sentry_groupmeta', ['group_id', 'key', 'value'])
File "/Users/jithine/devel/cucumbertown/dj_trunk/cucumbertown/ext/south/db/generic.py", line 431, in create_unique
cols,
File "/Users/jithine/devel/cucumbertown/dj_trunk/cucumbertown/ext/south/db/generic.py", line 134, in execute

............
_mysql_exceptions.OperationalError: (1170, "BLOB/TEXT column 'value' used in key specification without a key length")

Kindly advise on how to go about this.