How to reduce max_length of CharField in Django when data already exists in db

Viewed 2111

I have a CharField on a Django (1.9) model:

alias = models.CharField(max_length=50)

The app is being used and already has data, and there are objects using all 50 characters already. What is the simplest method to reduce the max_length of this field without getting complaints from my production database when I try to migrate? DB is postgresql if it makes a difference.

2 Answers
Related