We're using Postgres for our database. I installed Grafite and everything went well, but when I go to the admin dashboard, I get this error.
SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "LIKE" LINE 1: SHOW VARIABLES LIKE "%version%"; ^ (SQL: SHOW VARIABLES LIKE "%version%";) (View: /var/www/php/sites/kringloop-grafite/resources/views/admin/dashboard.blade.php)
For Postgress it should be like this:
@foreach (DB::select('SELECT version();') as $dbVar)
<tr>
<td>Version</td>
<td>{{$dbVar->version}}</td>
</tr>
@endforeach
We're using Postgres for our database. I installed Grafite and everything went well, but when I go to the admin dashboard, I get this error.
SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "LIKE" LINE 1: SHOW VARIABLES LIKE "%version%"; ^ (SQL: SHOW VARIABLES LIKE "%version%";) (View: /var/www/php/sites/kringloop-grafite/resources/views/admin/dashboard.blade.php)
For Postgress it should be like this: