<commit_before><?php

class MenuItemsTableSeeder extends Seeder {

	/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
	public function run()
	{
		DB::table('menu_items')->truncate();

		$timestamp = date('Y-m-d H:i:s');
		$menuItems = array(
			//CMS Main Menu Items
			array(
				'menu_id'       => 1,
				'label'         => 'Home',
				'icon'          => 'home',
				'display_order' => 1,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'uri'           => '',
				'label'         => 'Content',
				'icon'          => 'th-list',
				'display_order' => 2,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 2,
				'uri'           => 'menus',
				'label'         => 'Menus',
				'icon'          => 'tasks',
				'display_order' => 1,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 2,
				'uri'           => 'pages',
				'label'         => 'Pages',
				'icon'          => 'file',
				'display_order' => 2,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 2,
				'uri'           => 'files',
				'label'         => 'Files',
				'icon'          => 'folder-open',
				'display_order' => 3,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'uri'           => 'users',
				'label'         => 'Users',
				'icon'          => 'user',
				'display_order' => 3,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 6,
				'uri'           => 'users',
				'label'         => 'Users',
				'icon'          => 'user',
				'display_order' => 1,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 6,
				'uri'           => 'user-roles',
				'label'         => 'User Roles',
				'icon'          => 'book',
				'display_order' => 2,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 6,
				'uri'           => 'activity',
				'label'         => 'User Activity',
				'icon'          => 'info-sign',
				'display_order' => 3,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(<commit_msg>removed 'Home' menu item since site logo/name is linked to CMS home area<commit_after><?php

class MenuItemsTableSeeder extends Seeder {

	/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
	public function run()
	{
		DB::table('menu_items')->truncate();

		$timestamp = date('Y-m-d H:i:s');
		$menuItems = array(
			//CMS Main Menu Items
			array(
				'menu_id'       => 1,
				'uri'           => '',
				'label'         => 'Content',
				'icon'          => 'th-list',
				'display_order' => 1,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 1,
				'uri'           => 'menus',
				'label'         => 'Menus',
				'icon'          => 'tasks',
				'display_order' => 1,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 1,
				'uri'           => 'pages',
				'label'         => 'Pages',
				'icon'          => 'file',
				'display_order' => 2,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 1,
				'uri'           => 'files',
				'label'         => 'Files',
				'icon'          => 'folder-open',
				'display_order' => 3,
				'auth_status'   => 1,
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'uri'           => 'users',
				'label'         => 'Users',
				'icon'          => 'user',
				'display_order' => 2,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 5,
				'uri'           => 'users',
				'label'         => 'Users',
				'icon'          => 'user',
				'display_order' => 1,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 5,
				'uri'           => 'user-roles',
				'label'         => 'User Roles',
				'icon'          => 'book',
				'display_order' => 2,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
				'menu_id'       => 1,
				'parent_id'     => 5,
				'uri'           => 'activity',
				'label'         => 'User Activity',
				'icon'          => 'info-sign',
				'display_order' => 3,
				'auth_status'   => 1,
				'auth_roles'    => 'admin',
				'active'        => true,
				'created_at'    => $timestamp,
				'updated_at'    => $timestamp,
			),
			array(
{'fraction_non_alphanumeric': 0.18959349593495936, 'fraction_numerical': 0.01024390243902439, 'mean_word_length': 1.586627417998318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 177, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1061650', 'n_tokens_mistral': 2879, 'n_tokens_neox': 2217, 'n_words': 424}