Add pg4wp plugin and update wordpress.yaml
This commit is contained in:
1 parent
0a51ac0a31
commit
a4d8c0f418
23 files changed
+4304
-6
No files matched your search
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
class OptimizeTableSQLRewriter extends AbstractSQLRewriter
|
||||
{
|
||||
public function rewrite(): string
|
||||
{
|
||||
$sql = $this->original();
|
||||
return str_replace('OPTIMIZE TABLE', 'VACUUM', $sql);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user