<commit_before><?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Capsule\Manager as Capsule;

class Extensions extends Migration
{
    public function up()
    {
        $capsule = new Capsule();
        $capsule::schema()->create('extensions', function (Blueprint $table) {
            $table->increments('id');

            $table->string('serial_number');
            $table->string('name');
            $table->string('bundle_id');
            $table->string('version');
            $table->string('path');
            $table->string('codesign');
            $table->string('executable');

            $table->index('bundle_id');
            $table->index('codesign');
            $table->index('name');
            $table->index('version');
        });
    }
    
    public function down()
    {
        $capsule = new Capsule();
        $capsule::schema()->dropIfExists('extensions');
    }
}<commit_msg>Added indexes to extensions module<commit_after><?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Capsule\Manager as Capsule;

class Extensions extends Migration
{
    public function up()
    {
        $capsule = new Capsule();
        $capsule::schema()->create('extensions', function (Blueprint $table) {
            $table->increments('id');

            $table->string('serial_number');
            $table->string('name');
            $table->string('bundle_id');
            $table->string('version');
            $table->string('path');
            $table->string('codesign');
            $table->string('executable');

            $table->index('serial_number');
            $table->index('name');
            $table->index('bundle_id');
            $table->index('version');
            $table->index('path');
            $table->index('codesign');
        });
    }
    
    public function down()
    {
        $capsule = new Capsule();
        $capsule::schema()->dropIfExists('extensions');
    }
}
{'fraction_non_alphanumeric': 0.1661807580174927, 'fraction_numerical': 0.0, 'mean_word_length': 2.358890701468189, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, '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': '6647504', 'n_tokens_mistral': 558, 'n_tokens_neox': 563, 'n_words': 90}