swap hardcoded public values for DB_SCHEMA constant
This commit is contained in:
1 parent
129aa7f171
commit
36726124a4
7 files changed
+33
-9
No files matched your search
@@ -4,7 +4,7 @@ class ShowTablesSQLRewriter extends AbstractSQLRewriter
|
||||
{
|
||||
public function rewrite(): string
|
||||
{
|
||||
$schema = "public";
|
||||
$schema = DB_SCHEMA;
|
||||
return 'SELECT tablename FROM pg_tables WHERE schemaname = \'$schema\';';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user