insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'edulab.standard.subject.view', 'name' => 'View Subject', ], [ 'slug' => 'edulab.standard.subject.create', 'name' => 'Create Subject', ], [ 'slug' => 'edulab.standard.subject.edit', 'name' => 'Update Subject', ], [ 'slug' => 'edulab.standard.subject.delete', 'name' => 'Delete Subject', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/standard/subject', 'name' => 'Subject', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/standard/subject', 'name' => 'Subject', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'subject', 'name' => 'Subject', 'description' => null, 'icon' => 'las la-scroll, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Standard', 'module' => 'Subject', 'user_type' => null, 'user_id' => null, 'key' => 'edulab.standard.subject.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }