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
I have model with field defined like this: Column(sa.Numeric(precision=9, scale=3), nullable=False)
and I am trying to use Mixer to put data into that model.
Sometimes it tries to insert larger values than allowed by this field which results with error:
sqlalchemy.exc.DataError: Mixer (<class 'test.Model'>): (psycopg2.errors.NumericValueOutOfRange) numeric field overflow
DETAIL: A field with precision 9, scale 3 must round to an absolute value less than 10^6.
The text was updated successfully, but these errors were encountered:
I have model with field defined like this:
Column(sa.Numeric(precision=9, scale=3), nullable=False)
and I am trying to use Mixer to put data into that model.
Sometimes it tries to insert larger values than allowed by this field which results with error:
The text was updated successfully, but these errors were encountered: