mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Split user setting stock_decimal_places_prices
into separate settings for input/display (closes #1893)
This commit is contained in:
9
migrations/0193.sql
Normal file
9
migrations/0193.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
UPDATE user_settings
|
||||
SET key = 'stock_decimal_places_prices_input'
|
||||
WHERE key = 'stock_decimal_places_prices';
|
||||
|
||||
INSERT INTO user_settings
|
||||
(user_id, key, value)
|
||||
SELECT user_id, 'stock_decimal_places_prices_display', value
|
||||
FROM user_settings
|
||||
WHERE key = 'stock_decimal_places_prices_input';
|
Reference in New Issue
Block a user