insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'test.testing_tbl.view', 'name' => 'View TestingTbl', ], [ 'slug' => 'test.testing_tbl.create', 'name' => 'Create TestingTbl', ], [ 'slug' => 'test.testing_tbl.edit', 'name' => 'Update TestingTbl', ], [ 'slug' => 'test.testing_tbl.delete', 'name' => 'Delete TestingTbl', ], // Customize this permissions if needed. [ 'slug' => 'test.testing_tbl.verify', 'name' => 'Verify TestingTbl', ], [ 'slug' => 'test.testing_tbl.approve', 'name' => 'Approve TestingTbl', ], [ 'slug' => 'test.testing_tbl.publish', 'name' => 'Publish TestingTbl', ], [ 'slug' => 'test.testing_tbl.unpublish', 'name' => 'Unpublish TestingTbl', ], [ 'slug' => 'test.testing_tbl.cancel', 'name' => 'Cancel TestingTbl', ], [ 'slug' => 'test.testing_tbl.archive', 'name' => 'Archive TestingTbl', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/test/testing_tbl', 'name' => 'TestingTbl', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/test/testing_tbl', 'name' => 'TestingTbl', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'testing_tbl', 'name' => 'TestingTbl', 'description' => null, 'icon' => null, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Test', 'module' => 'TestingTbl', 'user_type' => null, 'user_id' => null, 'key' => 'test.testing_tbl.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }