Resolve "Make sql script to expire warranties due for expiration" #1062

Merged
korina.cordero merged 2 commits from 215-make-sql-script-to-expire-warranties-due-for-expiration into master 2019-05-28 02:47:21 +00:00
2 changed files with 1 additions and 1 deletions
Showing only changes of commit 66ec9fc237 - Show all commits

View file

@ -0,0 +1 @@
update warranty set status='expired' where date_expire is not null and date_expire < now() - interval 1 day;

View file

@ -1 +0,0 @@
update warranty set status='expired' where date_expire < now() - interval 1 day;