Hello, A couple of months ago I created a custom field class which inherited models.IntegerField:
class PhoneNumberField(models.IntegerField) What this class does is simply verifying a correct format for its data. Today I tried to use it in a new model, and I noticed that the database column for this field is created as int(11). I looked at a couple of months old database, for a model that was also using this field, and I found that in the old database the column was created as varchar(20). I didn't make any changes to the above class since first creating it. The database is MySql, and the current django revision I'm using is 7435. I don't know what was the older revision. Was there any change in django in the recent months that could explain this? Namely, could it be that a couple of months ago django would indeed generate a varchar(20) for this field, and now it generates int(11)? I looked at the list of incompatible changes but could not find a clue. Thanks, Amit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

