Removed duplicate

This commit is contained in:
Jan Babor 2016-07-16 00:25:03 +02:00 committed by GitHub
parent 88a93cbcaa
commit 2fdf113f7b

View File

@ -21,13 +21,6 @@ SQL1_1 = UPDATE vehicle SET deleted_at = NOW() WHERE last_updated_at < DATE_SUB(
Number Of Inputs = 1
SQL1_INPUTS = 1
; Removes vehicles that were not used within ? days
[deleteOldVehicles]
; SQL1_1 = DELETE FROM vehicle WHERE deleted_at < DATE_SUB(NOW(), INTERVAL ? DAY) AND territory_id IS NULL
SQL1_1 = DELETE FROM vehicle WHERE deleted_at < DATE_SUB(NOW(), INTERVAL ? DAY)
Number Of Inputs = 1
SQL1_INPUTS = 1
;2. Add all below in the end of the file.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Virtual Garage related queries | ADDED BY [ExAd]Jan
@ -47,4 +40,4 @@ SQL1_INPUTS = 1
[loadVehToVG]
SQL1_1 = UPDATE vehicle SET territory_id = ? WHERE id = ?
Number Of Inputs = 2
SQL1_INPUTS = 1,2
SQL1_INPUTS = 1,2