Untitled*
You must execute the code again to save those values in the database.
account_schedule_iduser_idupdate_user_iddelete_user_idaccount_idtypetitlecontentlocationcolorrecurringrepeat_startrepeat_typerepeat_intervalrepeat_day_of_monthrepeat_monthrepeat_day_of_weekstatus
11NULLNULL1NULLMonthlyNULLNULLNULLyes2024-06-30monthly1NULLNULLNULLon
21NULLNULL1NULLevery 2 monthsNULLNULLNULLyes2024-06-30monthly2NULLNULLNULLon

+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| account_schedule_id | DATE_ADD(
repeat_start,
INTERVAL (FLOOR(PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2023-07-28'), EXTRACT(YEAR_MONTH FROM repeat_start)) / repeat_interval) * repeat_interval) MONTH
) |
+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | 2023-07-30 |
| 2 | 2023-06-30 |
+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+