Join GitHub today
Modify all models + migrations to have `stripe_id` be VARCHAR(191) #350
The max length for a key field in MySQL is 767 Bytes. A
For some context on the issue I'm having, trying to run pinax-stripe migrations on our django instance is resulting in the following OperationalError:
The Motivation section above is informed entirely by https://stackoverflow.com/questions/1814532/1071-specified-key-was-too-long-max-key-length-is-767-bytes.
But Alex, you modified a migration? Isn't that bad?
Patching the migration with a new one would still result in the same failure I show above because it will still try to create the tables with the
For those already using pinax-stripe in production environments, they won't notice any difference -- for those trying to get it started in their own environment, they shouldn't run into this problem now...
The migration will already exist in their