<commit_before><?php

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

class AddEntityToImages extends Migration
{
    /**
     * Run the migrations.
     */
    public function up()
    {
        Schema::table(config('quarx.db-prefix', '').'images', function (Blueprint $table) {
            $table->integer('entity_id')->nullable();
            $table->string('entity_type')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down()
    {
        Schema::table(config('quarx.db-prefix', '').'images', function ($table) {
            $table->dropColumn('entity_id');
            $table->dropColumn('entity_type');
        });
    }
}<commit_msg>Fixes issue with Quazar<commit_after><?php

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

class AddEntityToImages extends Migration
{
    /**
     * Run the migrations.
     */
    public function up()
    {
        Schema::table(config('quarx.db-prefix', '').'images', function (Blueprint $table) {
            $table->integer('entity_id')->nullable();
            $table->string('entity_type')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down()
    {
        // Dropping these columns seems to break tests
    }
}
{'fraction_non_alphanumeric': 0.15228070175438596, 'fraction_numerical': 0.0, 'mean_word_length': 2.610126582278481, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '4937061', 'n_tokens_mistral': 407, 'n_tokens_neox': 422, 'n_words': 76}