insert([ ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/stock/stock', 'name' => 'Stocks', 'description' => null, 'icon' => null, 'target' => null, 'order' => 1, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/stocks', 'name' => 'Stocks', 'description' => null, 'icon' => null, 'target' => null, 'order' => 1, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'stocks', 'name' => 'Stocks', 'description' => null, 'icon' => null, 'target' => null, 'order' => 1, 'status' => 1, ], ]); DB::table('permissions')->insert([ [ 'slug' => 'stock.stock.view', 'name' => 'View Stock', ], [ 'slug' => 'stock.stock.create', 'name' => 'Create Stock', ], [ 'slug' => 'stock.stock.edit', 'name' => 'Update Stock', ], [ 'slug' => 'stock.stock.delete', 'name' => 'Delete Stock', ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'key' => 'stock.stock.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', ], */ ]); } }