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();
|
||||
}
|
||||
|
||||
@@ -15,29 +15,29 @@ class DatabaseSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
// $this->call([
|
||||
// SettingsSeeder::class,
|
||||
// RolesTableSeeder::class,
|
||||
// BannerTableSeeder::class,
|
||||
// CarouselTableSeeder::class,
|
||||
// UserTableSeeder::class,
|
||||
// ChannelTableSeeder::class,
|
||||
// PaymentTypeTableSeeder::class,
|
||||
// ProvinceTableSeeder::class,
|
||||
// BrandTableSeeder::class,
|
||||
// ProductTableSeeder::class,
|
||||
// PostBranchTableSeeder::class,
|
||||
// InventoriesTableSeeder::class,
|
||||
// CategoryTableSeeder::class,
|
||||
// CollectionTableSeeder::class,
|
||||
// AttributeTableSeeder::class,
|
||||
// ContactUsTableSeeder::class,
|
||||
// LegalPageTableSeeder::class,
|
||||
// ReviewTableSeeder::class,
|
||||
// NewsletterTableSeeder::class,
|
||||
// CartItemTableSeeder::class,
|
||||
// FavouriteTableSeeder::class,
|
||||
// MediaTableSeeder::class,
|
||||
// ProductHasRelationsTable::class,
|
||||
// SettingsSeeder::class,
|
||||
// RolesTableSeeder::class,
|
||||
// BannerTableSeeder::class,
|
||||
// CarouselTableSeeder::class,
|
||||
// UserTableSeeder::class,
|
||||
// ChannelTableSeeder::class,
|
||||
// PaymentTypeTableSeeder::class,
|
||||
// ProvinceTableSeeder::class,
|
||||
// BrandTableSeeder::class,
|
||||
// ProductTableSeeder::class,
|
||||
// PostBranchTableSeeder::class,
|
||||
// InventoriesTableSeeder::class,
|
||||
// CategoryTableSeeder::class,
|
||||
// CollectionTableSeeder::class,
|
||||
// AttributeTableSeeder::class,
|
||||
// ContactUsTableSeeder::class,
|
||||
// LegalPageTableSeeder::class,
|
||||
// ReviewTableSeeder::class,
|
||||
// NewsletterTableSeeder::class,
|
||||
// CartItemTableSeeder::class,
|
||||
// FavouriteTableSeeder::class,
|
||||
// MediaTableSeeder::class,
|
||||
// ProductHasRelationsTable::class,
|
||||
// ]);
|
||||
$this->call([
|
||||
|
||||
|
||||
Reference in New Issue
Block a user