extract public to schema variable so we can use a constant later

This commit is contained in:
Matthew Bucci committed 2024-02-21 01:22:57 -08:00
1 parent ebbe2915c6
commit 61cfa6896d
5 files changed
+12 -9

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@ class ShowTablesSQLRewriter extends AbstractSQLRewriter
{
public function rewrite(): string
{
return 'SELECT tablename FROM pg_tables WHERE schemaname = \'public\';';
$schema = "public";
return 'SELECT tablename FROM pg_tables WHERE schemaname = \'$schema\';';
}
}