Merge branch '215-make-sql-script-to-expire-warranties-due-for-expiration' into 'master'

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

Closes #215

See merge request jankstudio/resq!251
This commit is contained in:
Kendrick Chan 2019-05-28 02:47:20 +00:00
commit 6b716ccaff

View file

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