mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01: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…
Reference in New Issue
Block a user