mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Clean up migrations
This commit is contained in:
@@ -38,9 +38,7 @@ class FixNullables extends Migration
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
}
|
||||
public function down(): void {}
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -57,8 +55,8 @@ class FixNullables extends Migration
|
||||
}
|
||||
);
|
||||
} catch (QueryException $e) {
|
||||
Log::error(sprintf(self::TABLE_UPDATE_ERROR, 'rule_groups', $e->getMessage()));
|
||||
Log::error(self::COLUMN_ALREADY_EXISTS);
|
||||
app('log')->error(sprintf(self::TABLE_UPDATE_ERROR, 'rule_groups', $e->getMessage()));
|
||||
app('log')->error(self::COLUMN_ALREADY_EXISTS);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,8 +69,8 @@ class FixNullables extends Migration
|
||||
}
|
||||
);
|
||||
} catch (QueryException $e) {
|
||||
Log::error(sprintf(self::TABLE_UPDATE_ERROR, 'rules', $e->getMessage()));
|
||||
Log::error(self::COLUMN_ALREADY_EXISTS);
|
||||
app('log')->error(sprintf(self::TABLE_UPDATE_ERROR, 'rules', $e->getMessage()));
|
||||
app('log')->error(self::COLUMN_ALREADY_EXISTS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user