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