Hi,
I'm having the error : SQLSTATE[42704]: Undefined object: 7 ERROR: unrecognized configuration parameter "tables" (SQL: show tables) in response of the getTables request.
This is probably because my database is Postgres.
We need to use proper laravel/doctrine methods instead of using raw commands:
Hi, I'm having the error :
SQLSTATE[42704]: Undefined object: 7 ERROR: unrecognized configuration parameter "tables" (SQL: show tables)
in response of the getTables request. This is probably because my database is Postgres.We need to use proper laravel/doctrine methods instead of using raw commands:
$tables = DB::connection()->getDoctrineSchemaManager()->listTableNames();