Refactor code for improved readability and consistency
- Removed unnecessary blank lines in various files to enhance code clarity. - Updated comments for consistency and clarity across multiple classes and methods. - Adjusted spacing in test files for better formatting and readability.
This commit is contained in:
@@ -13,6 +13,9 @@ return new class extends Migration
|
||||
{
|
||||
Schema::table('orders', function (Blueprint $table) {
|
||||
$table->dropColumn('source_app');
|
||||
});
|
||||
|
||||
Schema::table('orders', function (Blueprint $table) {
|
||||
$table->string('source')->nullable();
|
||||
});
|
||||
}
|
||||
@@ -26,6 +29,9 @@ return new class extends Migration
|
||||
if (Schema::hasColumn('source')) {
|
||||
$table->dropColumn('source')->nullable();
|
||||
}
|
||||
});
|
||||
|
||||
Schema::table('orders', function (Blueprint $table) {
|
||||
if (! Schema::hasColumn('source_app')) {
|
||||
$table->string('source_app')->nullable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user