v1.3.1: scope introspection to the current schema
Fixed
Schema introspection is now scoped to the connection's own database.
On a server that hosts more than one database (a shared local MySQL, a PostgreSQL cluster), truss:show, truss:rebuild, and the diagram listed the tables of every database the connection could reach, not just the application's own. That also made the snapshot build far slower and could collapse same-named tables from different databases into each other.
The table listing now resolves the current schema per driver: the database name on MySQL, the search-path schema on PostgreSQL, and main on SQLite. Structure only, as always.
If you are on a shared database server, run php artisan truss:rebuild after upgrading to refresh the cached snapshot.
Thanks to @santos-sabanari for the thorough diagnosis in #3 and @m0shiurX for the fix in #8.
Full changelog: v1.3.0...v1.3.1