mirror of
https://github.com/grocy/grocy.git
synced 2026-04-12 07:16:15 +02: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