mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 19:37:12 +00:00
Remove period_days for old dynamic-regular chores on migration
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
UPDATE chores
|
UPDATE chores
|
||||||
SET period_type = 'daily',
|
SET period_type = 'daily',
|
||||||
period_interval = period_days
|
period_interval = period_days,
|
||||||
|
period_days = null
|
||||||
WHERE period_type = 'dynamic-regular';
|
WHERE period_type = 'dynamic-regular';
|
||||||
|
|
||||||
DROP VIEW chores_current;
|
DROP VIEW chores_current;
|
||||||
|
Reference in New Issue
Block a user