<commit_before><?php

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

class CreateApplicationsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('applications', function (Blueprint $table) {
            $table->uuid('id')->unique();
            $table->primary('id');

            $table->uuid('userid');
            $table->foreign('userid')->references('id')->on('users')->onDelete('cascade');

            $table->uuid('employerid');
            $table->foreign('employerid')->references('id')->on('employers')->onDelete('cascade');

            $table->uuid('jobid');
            $table->foreign('jobid')->references('id')->on('jobs')->onDelete('cascade');

            $table->text('message');

            $table->timestamps();
        });
    }<commit_msg>Add input for reject application<commit_after><?php

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

class CreateApplicationsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('applications', function (Blueprint $table) {
            $table->uuid('id')->unique();
            $table->primary('id');

            $table->uuid('userid');
            $table->foreign('userid')->references('id')->on('users')->onDelete('cascade');

            $table->uuid('employerid');
            $table->foreign('employerid')->references('id')->on('employers')->onDelete('cascade');

            $table->uuid('jobid');
            $table->foreign('jobid')->references('id')->on('jobs')->onDelete('cascade');

            $table->text('message');
			$table->boolean('rejected')->default(0);

            $table->timestamps();
        });
    }
{'fraction_non_alphanumeric': 0.192090395480226, 'fraction_numerical': 0.0005136106831022085, 'mean_word_length': 2.7678916827853, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 45, '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': '4940396', 'n_tokens_mistral': 557, 'n_tokens_neox': 543, 'n_words': 71}