<commit_before><?php

use Illuminate\Database\Seeder;

use App\Site;
use App\Thread;
use App\Image;
use App\Suffix;

class DatabaseSeeder extends Seeder
{
	/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
	public function run()
	{
		// $this->call(UsersTableSeeder::class);

		DB::table('sites')->delete();
		$sites = array(
			[
				'id' => '1',
				'name' => 'Deviantart',
				'domain' => 'deviantart.com',
			],
			[
				'id' => '2',
				'name' => 'Safebooru',
				'domain' => 'safebooru.org',
			],
		);

		foreach($sites as $site) {
			Site::create($site);
		}

		DB::table('threads')->delete();
		$threads = array(
			[
				'id' => '1',
				'site_id' => '1',
				'name' => 'manga',
				'url' => 'http://www.deviantart.com/browse/all/manga',
				'status' => '1',
				'download_directory' => 'C:/downloadingrep',
				'last_update' => '2016-09-13 01:02:03',
			],
			[
				'id' => '2',
				'site_id' => '2',
				'name' => 'browse',
				'url' => 'http://www.deviantart.com/browse/all/manga',
				'status' => '1',
				'download_directory' => 'C:/downloadingrep',
				'last_update' => '2016-09-13 01:02:03',
			],
		);

		foreach($threads as $thread) {
			Thread::create($thread);
		}

	}
}<commit_msg>Fill database seeder with crucial site record only<commit_after><?php

use Illuminate\Database\Seeder;

use App\Site;
use App\Thread;
use App\Image;
use App\Suffix;

class DatabaseSeeder extends Seeder
{
	/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
	public function run()
	{
		// $this->call(UsersTableSeeder::class);

		DB::table('sites')->delete();
		$sites = array(
			[
				'id' => '1',
				'name' => 'Deviantart',
				'domain' => 'deviantart.com',
			],
			[
				'id' => '2',
				'name' => 'Safebooru',
				'domain' => 'safebooru.org',
			],
			[
				'id' => '3',
				'name' => '2chan',
				'domain' => '2chan.net',
			],
		);

		foreach($sites as $site) {
			Site::create($site);
		}

	}
}
{'fraction_non_alphanumeric': 0.22135416666666666, 'fraction_numerical': 0.021354166666666667, 'mean_word_length': 2.8190854870775346, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5374797', 'n_tokens_mistral': 934, 'n_tokens_neox': 760, 'n_words': 138}