diff --git a/jsonfield/fields.py b/jsonfield/fields.py index 4956405..d3ce732 100644 --- a/jsonfield/fields.py +++ b/jsonfield/fields.py @@ -139,12 +139,6 @@ def get_default(self): # If the field doesn't have a default, then we punt to models.Field. return super(JSONFieldBase, self).get_default() - def db_type(self, connection): - if connection.vendor == 'postgresql' and connection.pg_version >= 90300: - return 'json' - else: - return super(JSONFieldBase, self).db_type(connection) - class JSONField(JSONFieldBase, models.TextField): """JSONField is a generic textfield that serializes/deserializes JSON objects""" form_class = JSONFormField