<commit_before><?php

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

    class CreateImprovementsTable extends Migration
    {

        /**
         * Run the migrations.
         *
         * @return void
         */
        public function up()
        {

            Schema::create( 'improvements', function ( Blueprint $table ) {

                $table->increments( 'id' );
                $table->integer( 'asset_id' )
                      ->unsigned();
                $table->integer( 'supplier_id' )
                      ->unsigned();
                $table->enum( 'improvement_type', [ 'Maintenance', 'Repair', 'Upgrade' ] );
                $table->string( 'title', 100 );
                $table->boolean( 'is_warranty' );
                $table->date( 'start_date' );
                $table->date( 'completion_date' );
                $table->decimal( 'improvement_time', 8, 2 );
                $table->longText( 'notes' );
                $table->decimal( 'cost', 10, 2 );
                $table->dateTime( 'deleted_at' );
                $table->timestamps();
            } );
        }

        /**
         * Reverse the migrations.
         *
         * @return void
         */
        public function down()
        {

            Schema::dropIfExists( 'improvements' );

        }

}<commit_msg>Needed to fix nullable issues<commit_after><?php

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

    class CreateImprovementsTable extends Migration
    {

        /**
         * Run the migrations.
         *
         * @return void
         */
        public function up()
        {

            Schema::create( 'improvements', function ( Blueprint $table ) {

                $table->increments( 'id' );
                $table->integer( 'asset_id' )
                      ->unsigned();
                $table->integer( 'supplier_id' )
                      ->unsigned();
                $table->enum( 'improvement_type', [ 'Maintenance', 'Repair', 'Upgrade' ] );
                $table->string( 'title', 100 );
                $table->boolean( 'is_warranty' );
                $table->date( 'start_date' );
                $table->date( 'completion_date' )
                      ->nullable();
                $table->decimal( 'improvement_time', 8, 2 )
                      ->nullable();
                $table->longText( 'notes' )
                      ->nullable();
                $table->decimal( 'cost', 10, 2 )
                      ->nullable();
                $table->dateTime( 'deleted_at' )
                      ->nullable();
                $table->timestamps();
            } );
        }

        /**
         * Reverse the migrations.
         *
         * @return void
         */
        public function down()
        {

            Schema::dropIfExists( 'improvements' );

        }

}
{'fraction_non_alphanumeric': 0.1359754014349163, 'fraction_numerical': 0.005466347796378545, 'mean_word_length': 1.2857142857142858, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 38, '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': '2278031', 'n_tokens_mistral': 825, 'n_tokens_neox': 755, 'n_words': 143}