You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
830 B
42 lines
830 B
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class ShopSpecificationTableSeeder extends Seeder
|
|
{
|
|
|
|
/**
|
|
* Auto generated seed file
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
|
|
|
|
\DB::table('shop_specification')->delete();
|
|
|
|
\DB::table('shop_specification')->insert(array (
|
|
0 =>
|
|
array (
|
|
'id' => 1,
|
|
'name' => '电商系统',
|
|
'sort_order' => 255,
|
|
),
|
|
1 =>
|
|
array (
|
|
'id' => 2,
|
|
'name' => '颜色',
|
|
'sort_order' => 255,
|
|
),
|
|
2 =>
|
|
array (
|
|
'id' => 3,
|
|
'name' => '系统',
|
|
'sort_order' => 255,
|
|
),
|
|
));
|
|
|
|
|
|
}
|
|
} |