Django Error while trying to migrate model on Postgres/Geoserver

I have a doubt similar to Django Error while trying to migrate model on Postgre DB. However I cannot solve my issue. I get the same error

django.db.utils.DataError: NUMERIC precision 65535 must be between 1 and 1000
LINE 1: ...RIMARY KEY, "geom" geometry(POINT,4326) NULL, "x" numeric(65...

And this is a part of the models.py

class Water43262(models.Model):
    geom = gis_models.PointField(blank=True, null=True)
    x = models.FloatField(blank=True, null=True)
    y = models.FloatField(blank=True, null=True)
    sample = models.FloatField(blank=True, null=True)
    t_1 = models.FloatField(db_column='t - 1', blank=True, null=True)  # Field renamed to remove unsuitable characters.
    ph_1 = models.FloatField(db_column='ph - 1', blank=True, null=True)  # Field renamed to remove unsuitable characters.
    turb_1 = models.FloatField(db_column='turb - 1', blank=True, null=True)  # Field renamed to remove unsuitable characters.
Back to Top