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

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

            $table->string('serial_number');
            $table->string('name');
            $table->string('version');
            $table->string('bundleid');
            $table->string('bundlename');
            $table->text('path');

            $table->index(['name', 'version']);
            $table->index('serial_number');

//            $table->timestamps();
        });
    }

    public function down()
    {<commit_msg>Add indexes to inventoryitem migration<commit_after><?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Capsule\Manager as Capsule;

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

            $table->string('serial_number');
            $table->string('name');
            $table->string('version');
            $table->string('bundleid');
            $table->string('bundlename');
            $table->text('path');

            $table->index(['name', 'version']);
            $table->index('serial_number');
            $table->index('bundleid');
            $table->index('bundlename');
        });
    }

    public function down()
    {
{'fraction_non_alphanumeric': 0.1609870740305523, 'fraction_numerical': 0.0, 'mean_word_length': 2.518595041322314, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 26, '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': '1793168', 'n_tokens_mistral': 463, 'n_tokens_neox': 465, 'n_words': 79}