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