More Product Model optimisation
This commit is contained in:
@@ -33,7 +33,6 @@ class ProductFactory extends Factory
|
||||
'taxable' => TRUE,
|
||||
'active' => TRUE,
|
||||
// 'position'
|
||||
// 'price_type'
|
||||
'pricing'=>json_encode([
|
||||
[
|
||||
'show'=>true,
|
||||
|
@@ -19,6 +19,10 @@ return new class extends Migration
|
||||
DB::statement('ALTER TABLE supplier_generic MODIFY product_id varchar(32) NOT NULL, MODIFY product_desc text DEFAULT NULL');
|
||||
DB::statement('ALTER TABLE supplier_phone MODIFY product_id varchar(32) NOT NULL, MODIFY product_desc text DEFAULT NULL');
|
||||
DB::statement('ALTER TABLE supplier_ssl MODIFY product_id varchar(32) NOT NULL, MODIFY product_desc text DEFAULT NULL');
|
||||
|
||||
Schema::table('products', function (Blueprint $table) {
|
||||
$table->dropColumn(['price_type']);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user