<commit_before><?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class Database extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		//
		//
		Schema::create('users', function($table){
			$table->increments('id');
			$table->string('username', 30)->unique()->nullable(false);
			$table->string('password', 65)->nullable(false);
			$table->string('remember_token', 100)->nullable();
			$table->timestamps();
		});
		Schema::create('profiles', function($table){
			$table->increments('id');
			$table->string('firstname', 30)->unique()->nullable(false);
			$table->string('lastname', 30)->unique()->nullable(false);
			$table->string('age', 20)->nullable(false);
			$table->string('gender', 20)->nullable(false);
			$table->string('work', 30)->nullable(false);
			$table->string('interest', 30)->nullable(false);
			$table->string('tel', 30)->unique()->nullable(false); 
			$table->string('email', 25)->unique()->nullable(false);
			$table->string('facebook', 60)->unique()->nullable(false);
			$table->string('lineid', 30)->unique()->nullable(false); 
			$table->timestamps();
		});

		Schema::create('profilePictures', function($table){
			$table->increments('id');
			$table->string('profilepicture',100);
			$table->timestamps();
		});
		Schema::create('likes', function($table)
		{
			$table->increments('id');
			$table->string('user_sendlike');
			$table->string('user_receivelike');
			$table->boolean('likematchstate');
			$table->timestamps();

		});<commit_msg>fix database<commit_after><?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class Database extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		//
		//
		Schema::create('users', function($table){
			$table->increments('id');
			$table->string('username', 30)->unique()->nullable(false);
			$table->string('password', 65)->nullable(false);
			$table->string('remember_token', 100)->nullable();
			$table->timestamps();
		});
		Schema::create('profiles', function($table){
			$table->increments('id');
			$table->integer('user_id')->unsigned();
			$table->string('firstname', 30)->unique()->nullable(false);
			$table->string('lastname', 30)->unique()->nullable(false);
			$table->string('age', 20)->nullable(false);
			$table->string('gender', 20)->nullable(false);
			$table->string('work', 30)->nullable(false);
			$table->string('interest', 30)->nullable(false);
			$table->string('tel', 30)->unique()->nullable(false); 
			$table->string('email', 25)->unique()->nullable(false);
			$table->string('facebook', 60)->unique()->nullable(false);
			$table->string('lineid', 30)->unique()->nullable(false); 
			$table->timestamps();
		});

		Schema::create('profilePictures', function($table){
			$table->increments('id');
			$table->integer('profile_id')->unsigned();
			$table->string('profilepicture',100);
			$table->timestamps();
		});
		Schema::create('likes', function($table)
		{
			$table->increments('id');
			$table->string('user_sendlike');
			$table->string('user_receivelike');
			$table->boolean('likematchstate');
			$table->timestamps();

		});
{'fraction_non_alphanumeric': 0.23664596273291927, 'fraction_numerical': 0.018633540372670808, 'mean_word_length': 5.291015625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 97, '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': '4259865', 'n_tokens_mistral': 1202, 'n_tokens_neox': 1027, 'n_words': 129}