Skip to content

Commit

Permalink
:(
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Jan 4, 2024
1 parent 151dc6f commit ccad3c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/utils/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ def formfield(self, **kwargs):
return super(ArrayField, self).formfield(**defaults)


if connection.features.is_sqlite:
if "sqlite" in settings.DATABASES["default"]["ENGINE"]:

class JSONField(Field):
def db_type(self, connection):
return "text"
Expand Down

0 comments on commit ccad3c7

Please sign in to comment.