Resolve "Make sql script to expire warranties due for expiration" #1062
1 changed files with 1 additions and 0 deletions
1
utils/warranty_expire/warranty_expire.sql
Normal file
1
utils/warranty_expire/warranty_expire.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
update warranty set status='expired' where date_expire is not null and date_expire < now() - interval 1 day;
|
||||
Loading…
Reference in a new issue