Skip to content

Commit

Permalink
Update AppPluginCreateCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored May 8, 2024
1 parent 598dce5 commit 9e86634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/AppPluginCreateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ protected static function uninstallSql() {
return;
}
\$installSql = file_get_contents(\$installSqlFile);
preg_match_all('/CREATE TABLE `(.+?)` \(/si', \$installSql, \$matches);
preg_match_all('/CREATE TABLE `(.+?)`/si', \$installSql, \$matches);
\$dropSql = '';
foreach (\$matches[1] as \$table) {
\$dropSql .= "DROP TABLE IF EXISTS `\$table`;\\n";
Expand Down

0 comments on commit 9e86634

Please sign in to comment.