<commit_before><?php

// Composer: "fzaninotto/faker": "v1.3.0"
use Faker\Factory as Faker;

class RoleUserTableSeeder extends Seeder {

	public function run()
	{
        RoleUser::truncate();
		//$faker = Faker::create();

		//foreach(range(1, 10) as $index)
		//{
			RoleUser::create([
                "role_id" => "1",
                "user_id" => "1",
			]);
			RoleUser::create([
                "role_id" => "2",
                "user_id" => "1",
			]);
			RoleUser::create([
                "role_id" => "1",
                "user_id" => "2",
			]);
		//}
	}

}<commit_msg>removing foreign_key_checks while seeding<commit_after><?php

// Composer: "fzaninotto/faker": "v1.3.0"
use Faker\Factory as Faker;

class RoleUserTableSeeder extends Seeder {

	public function run()
	{
        DB::statement("set foreign_key_checks = 0");
        RoleUser::truncate();
		//$faker = Faker::create();

		//foreach(range(1, 10) as $index)
		//{
			RoleUser::create([
                "role_id" => "1",
                "user_id" => "1",
			]);
			RoleUser::create([
                "role_id" => "2",
                "user_id" => "1",
			]);
			RoleUser::create([
                "role_id" => "1",
                "user_id" => "2",
			]);
		//}
	}

}
{'fraction_non_alphanumeric': 0.1917808219178082, 'fraction_numerical': 0.020145044319097503, 'mean_word_length': 1.9154929577464788, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 15, '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': '6427544', 'n_tokens_mistral': 500, 'n_tokens_neox': 441, 'n_words': 80}