Rename script. #215
This commit is contained in:
parent
e4fc5f8648
commit
66ec9fc237
2 changed files with 1 additions and 1 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;
|
||||
|
|
@ -1 +0,0 @@
|
|||
update warranty set status='expired' where date_expire < now() - interval 1 day;
|
||||
Loading…
Reference in a new issue