<commit_before><?php

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

class CreateMediaTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
      Schema::create('medias', function (Blueprint $table) {
        $table->increments('id');
        $table->string('name');
        $table->string('path');
        $table->string('slug');
        $table->boolean('is_active')->default(1);
        $table->timestamps();
      });<commit_msg>More fields in media table (size, type, aspect, title, desc, alt)<commit_after><?php

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

class CreateMediaTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
      Schema::create('medias', function (Blueprint $table) {
        $table->increments('id');
        $table->string('name');
        $table->string('path');
        $table->string('slug');
        $table->string('file_type');
        $table->integer('file_size');
        $table->string('file_width');
        $table->string('file_height');
        $table->string('original_file_name');
        $table->string('title')->nullable();
        $table->text('desc')->nullable();
        $table->string('alt')->nullable();
        $table->timestamps();
      });
{'fraction_non_alphanumeric': 0.17243675099866845, 'fraction_numerical': 0.0006657789613848203, 'mean_word_length': 2.9242819843342036, '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': '3870156', 'n_tokens_mistral': 429, 'n_tokens_neox': 446, 'n_words': 75}