mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Added an upper limit for stock_decimal_places_* settings (references #2508)
This commit is contained in:
4
migrations/0246.sql
Normal file
4
migrations/0246.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
UPDATE user_settings
|
||||
SET value = '10'
|
||||
WHERE key IN ('stock_decimal_places_amounts', 'stock_decimal_places_prices_input', 'stock_decimal_places_prices_display')
|
||||
AND CAST(value AS INT) > 10;
|
Reference in New Issue
Block a user