I have a query:
update `shops` set
`points` = `points` - 2,
`updated_at` = '2019-04-17 23:07:11'
where `id` = 4;
Column points have a column type: BIGINT(20).
Now in record I have value 62. When I run the above query I get this error:
SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in '(`database`.`shops`.`points` - 2)'
Is different.