Refactor seeders for improved clarity and functionality
- Reorganized imports in DatabaseSeeder for better structure. - Enabled ProductCategoryRelationshipsSeeder and ProductBarcodesSeeder in DatabaseSeeder. - Updated ProductPropertyValuesSeeder to enhance property value handling and added a new method for filling product property values. - Removed unused imports from ProductBarcodesSeeder, ProductCategoryRelationshipsSeeder, and ProductPropertiesSeeder. - Ensured consistent formatting by adding missing newlines at the end of files.
This commit is contained in:
@@ -4,7 +4,6 @@ namespace Database\Seeders\New;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use JsonMachine\Items;
|
||||
use JsonMachine\JsonDecoder\ExtJsonDecoder;
|
||||
|
||||
@@ -28,4 +27,4 @@ class ProductBarcodesSeeder extends Seeder
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user