mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 07:30:09 +00:00
Hotfix v0.16.2 (#1158)
This commit is contained in:
@@ -17,7 +17,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
if (! Schema::hasTable('results') && ! Schema::hasTable('results_bad_json')) {
|
||||
if (! Schema::hasTable('results_bad_json')) {
|
||||
if (Schema::hasTable('results')) {
|
||||
/**
|
||||
* Rename the existing table so that a backup copy exists.
|
||||
@@ -25,7 +25,7 @@ return new class extends Migration
|
||||
Schema::rename('results', 'results_bad_json');
|
||||
}
|
||||
|
||||
if (! Schema::hasTable('results')) {
|
||||
if (! Schema::hasTable('results') && Schema::hasTable('results_bad_json')) {
|
||||
/**
|
||||
* Create a new results table based on a new DDL schema.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user