insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'tm.tm.view', 'name' => 'View Tm', ], [ 'slug' => 'tm.tm.create', 'name' => 'Create Tm', ], [ 'slug' => 'tm.tm.edit', 'name' => 'Update Tm', ], [ 'slug' => 'tm.tm.delete', 'name' => 'Delete Tm', ], // Customize this permissions if needed. [ 'slug' => 'tm.tm.verify', 'name' => 'Verify Tm', ], [ 'slug' => 'tm.tm.approve', 'name' => 'Approve Tm', ], [ 'slug' => 'tm.tm.publish', 'name' => 'Publish Tm', ], [ 'slug' => 'tm.tm.unpublish', 'name' => 'Unpublish Tm', ], [ 'slug' => 'tm.tm.cancel', 'name' => 'Cancel Tm', ], [ 'slug' => 'tm.tm.archive', 'name' => 'Archive Tm', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/tm/tm', 'name' => 'Tm', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/tm/tm', 'name' => 'Tm', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'tm', 'name' => 'Tm', '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' => 'Tm', 'module' => 'Tm', 'user_type' => null, 'user_id' => null, 'key' => 'tm.tm.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }