We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92bb821 + ace3609 commit 70d1b96Copy full SHA for 70d1b96
src/db/mysql-adapter.ts
@@ -133,7 +133,7 @@ export class MysqlAdapter implements DbAdapter {
133
* Get database-specific query for listing tables
134
*/
135
getListTablesQuery(): string {
136
- return "SHOW TABLES";
+ return `SELECT table_name AS name FROM information_schema.tables WHERE table_schema = '${this.database}'`;
137
}
138
139
/**
0 commit comments