You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing the MAX_URL_LENGTH setting requires a database migration of the Url model.
Since this is not completely straight forward (or am I missing something?), I would add the recommended workflow for this to the README.
Similar as described in #137, I see two ways of dealing with this:
or just running django-admin makemigrations linkcheck on the production system itself (and having to merge these individual migrations with the upstream ones in case we add more migrations)
Since both options don't seem ideal to me, I think we could also think about setting a sensible (?) but fixed value and don't allow this value to be configured?
The text was updated successfully, but these errors were encountered:
I guess the basic issue is that the maximum possible length depends on the database backend, particularly with MySQL which have issues with longer lengths (https://docs.djangoproject.com/en/4.1/ref/databases/#character-fields). Same MySQL issue if we'd like to make it a TextField, due to unique=True.
Changing the
MAX_URL_LENGTH
setting requires a database migration of theUrl
model.Since this is not completely straight forward (or am I missing something?), I would add the recommended workflow for this to the README.
Similar as described in #137, I see two ways of dealing with this:
django-admin makemigrations linkcheck
on the production system itself (and having to merge these individual migrations with the upstream ones in case we add more migrations)Since both options don't seem ideal to me, I think we could also think about setting a sensible (?) but fixed value and don't allow this value to be configured?
The text was updated successfully, but these errors were encountered: