<commit_before><?php


use App\Menu;
use Illuminate\Database\Seeder;

class MenuTableSeeder extends Seeder
{
    public function run()
    {
        Menu::truncate();

        Menu::create([
            'name'        => 'Home',
            'url'         => route('home'),
            'weight'      => '1',
            'emplacement' => 'left',
        ]);

        Menu::create([
            'name'        => 'Blog',
            'url'         => route('post.index'),
            'weight'      => '2',
            'emplacement' => 'left',
        ]);
    }
}<commit_msg>Add Login Link to menu at installation<commit_after><?php

use App\Menu;
use Illuminate\Database\Seeder;

class MenuTableSeeder extends Seeder
{
    public function run()
    {
        Menu::truncate();

        Menu::create([
            'name'        => 'Home',
            'url'         => route('home'),
            'weight'      => '1',
            'emplacement' => 'left',
        ]);

        Menu::create([
            'name'        => 'Blog',
            'url'         => route('post.index'),
            'weight'      => '2',
            'emplacement' => 'left',
        ]);

        Menu::create([
            'name'          => 'Login',
            'url'           => url('auth/login'),
            'is_login_link' => true,
            'weight'        => '0',
            'emplacement'   => 'right',
        ]);
    }
}
{'fraction_non_alphanumeric': 0.1679771265189421, 'fraction_numerical': 0.0035739814152966403, 'mean_word_length': 1.2913256955810146, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 24, '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': '5196834', 'n_tokens_mistral': 402, 'n_tokens_neox': 396, 'n_words': 79}