Skip to content

Commit f1711a3

Browse files
committed
Fix SQL error for Pgsql
1 parent db4a86d commit f1711a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/HomeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function index(Request $request)
105105
from
106106
controls c1 left join controls c2 on c2.next_id=c1.id
107107
left join domains on c1.domain_id=domains.id
108-
where (c1.realisation_date is null) and (c1.plan_date < NOW() + INTERVAL 30 DAY)
108+
where (c1.realisation_date is null) and (c1.plan_date < NOW() + INTERVAL \'30 DAY\')
109109
order by c1.plan_date'
110110
);
111111

0 commit comments

Comments
 (0)