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
My test cases getting fail since I switch the test database backend from SQLite to Postgres. I am creating a model instance using mixer and it is throwing the following error.
"Value too long for type character varying(24)"
There is a field where it is showing the error:
code = models.CharField(_('Code'), max_length=24, null=False, blank=False,
db_column='code', default=uuid.uuid4, unique=True)
I am not getting whats wrong with it.
Please help.
The text was updated successfully, but these errors were encountered:
My test cases getting fail since I switch the test database backend from SQLite to Postgres. I am creating a model instance using mixer and it is throwing the following error.
"Value too long for type character varying(24)"
There is a field where it is showing the error:
code = models.CharField(_('Code'), max_length=24, null=False, blank=False,
db_column='code', default=uuid.uuid4, unique=True)
I am not getting whats wrong with it.
Please help.
The text was updated successfully, but these errors were encountered: