Merge pull request #15 from ReDBaroN1/ReDBaroN1-patch-1
Update exile.ini
This commit is contained in:
commit
c9ec72eb5e
@ -620,9 +620,9 @@ SQL1_INPUTS = 1
|
||||
; Removes containers outside territories that were not accessed within ? days
|
||||
[deleteOldContainers]
|
||||
SQL1_1 = DELETE FROM container WHERE deleted_at < DATE_SUB(NOW(), INTERVAL ? DAY) AND territory_id IS NULL
|
||||
SQL2_1 = SET SQL_SAFE_UPDATES=0;
|
||||
SQL3_1 = DELETE FROM container WHERE id IN (SELECT id FROM (SELECT * FROM container WHERE NOT EXISTS (SELECT NULL FROM territory WHERE territory.id = container.territory_id)) AS c)
|
||||
SQL4_1 = SET SQL_SAFE_UPDATES=1;
|
||||
;; SQL2_1 = SET SQL_SAFE_UPDATES=0;
|
||||
;; SQL3_1 = DELETE FROM container WHERE id IN (SELECT id FROM (SELECT * FROM container WHERE NOT EXISTS (SELECT NULL FROM territory WHERE territory.id = container.territory_id)) AS c)
|
||||
;; SQL4_1 = SET SQL_SAFE_UPDATES=1;
|
||||
|
||||
SQL1_INPUTS = 1
|
||||
|
||||
@ -635,9 +635,9 @@ SQL1_INPUTS = 1
|
||||
; Removes contructions outside territories after ? days
|
||||
[deleteOldConstructions]
|
||||
SQL1_1 = DELETE FROM construction WHERE deleted_at < DATE_SUB(NOW(), INTERVAL ? DAY) AND territory_id IS NULL
|
||||
SQL2_1 = SET SQL_SAFE_UPDATES=0;
|
||||
SQL3_1 = DELETE FROM construction WHERE id IN (SELECT id FROM (SELECT * FROM construction WHERE NOT EXISTS (SELECT NULL FROM territory WHERE territory.id = construction.territory_id)) AS c)
|
||||
SQL4_1 = SET SQL_SAFE_UPDATES=1;
|
||||
;; SQL2_1 = SET SQL_SAFE_UPDATES=0;
|
||||
;; SQL3_1 = DELETE FROM construction WHERE id IN (SELECT id FROM (SELECT * FROM construction WHERE NOT EXISTS (SELECT NULL FROM territory WHERE territory.id = construction.territory_id)) AS c)
|
||||
;; SQL4_1 = SET SQL_SAFE_UPDATES=1;
|
||||
|
||||
SQL1_INPUTS = 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user