-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set max_length=255 for doc_file and doc_url in document model #2288
Conversation
@capooti wouldn't this break existing databases? |
I don't think so, as it is just setting the field length to an higher value for new synced database. |
I'm afraid that the db would complain if we allow more that 100 but the it has a constraint of 100. Unless we will provide a migrations script. |
apparently this is already happening according to #2285. We need to make On Tue, Sep 29, 2015 at 9:39 AM, Simone Dalmasso notifications@github.com
Paolo Corti |
@capooti should we go ahead and merge this one now? |
Yes, given that now we can do schema changes. |
@capooti +1 for the migrations, not sure that django 1.6 has migrations yet but we should also upgrade it to the latest. |
Yes, now I think south is integrated in django. |
@capooti Can we go ahead and merge this now? |
Sure! Go ahead |
Set max_length=255 for doc_file and doc_url in document model as per #2285