diff --git a/database/migrations/2020_04_03_230614_create_backups_table.php b/database/migrations/2020_04_03_230614_create_backups_table.php index 10d0794d9..68eeee2ce 100644 --- a/database/migrations/2020_04_03_230614_create_backups_table.php +++ b/database/migrations/2020_04_03_230614_create_backups_table.php @@ -26,7 +26,7 @@ class CreateBackupsTable extends Migration // Take any of the results, most likely "backups" and "backup_logs" and rename them to have a // suffix so data isn't completely lost, but they're no longer in the way of this migration... foreach ($results as $result) { - Schema::rename($result['TABLE_NAME'], $result['TABLE_NAME'] . '_plugin_bak'); + Schema::rename($result->TABLE_NAME, $result->TABLE_NAME. '_plugin_bak'); } Schema::create('backups', function (Blueprint $table) {