Add sql for clearing jo data for production #472
This commit is contained in:
parent
b6d2726d41
commit
4e6bc0d95f
1 changed files with 8 additions and 0 deletions
8
utils/clear_jo_data.sql
Normal file
8
utils/clear_jo_data.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
delete from jo_event;
|
||||
delete from invoice_item;
|
||||
delete from invoice;
|
||||
delete from ticket;
|
||||
|
||||
set foreign_key_checks = 0;
|
||||
delete from job_order;
|
||||
set foreign_key_checks = 1;
|
||||
Loading…
Reference in a new issue