Skip to content

Commit 90128d4

Browse files
Merge branch 'main' of github.com:WatheqAlshowaiter/backup-tables
2 parents aa5ee60 + 7e78e87 commit 90128d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BackupTablesService.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ protected function backupTablesForSqlite($newTableName, $table)
124124

125125
protected function backupTablesForForMysqlAndMariaDb($newTableName, $table): array
126126
{
127-
if($this->getMysqlVersion() >= Constants::VERSION_AFTER_STORED_AS_VIRTUAL_AS_SUPPORT){
127+
if ($this->getMysqlVersion() >= Constants::VERSION_AFTER_STORED_AS_VIRTUAL_AS_SUPPORT) {
128128
DB::statement(/**@lang MySQL**/ "CREATE TABLE $newTableName AS SELECT * FROM $table");
129129
DB::statement(/**@lang MySQL**/ "INSERT INTO $newTableName SELECT * FROM $table");
130130
}

0 commit comments

Comments
 (0)