def db_type(self, connection):
        """Return the appropriate type to create a PostgreSQL array."""

        # Retrieve the SQL type of the sub-field.
        db_subfield = self.of.db_type(connection)

        # Return the PostgreSQL array type syntax.
        return '%s[]' % db_subfield
dataset/ETHPy150Open lukesneeringer/django-pgfields/django_pg/models/fields/array.py/ArrayField.db_type/original