<commit_before><?php 
/*
 * This file is part of flagrow/flarum-ext-image-upload.
 *
 * Copyright (c) Flagrow.
 *
 * http://flagrow.github.io
 *
 * For the full copyright and license information, please view the license.md
 * file that was distributed with this source code.
 */

namespace flagrow\ext\image\upload\Migration;

use Flarum\Database\AbstractMigration;
use Illuminate\Database\Schema\Blueprint;

class CreateFlagrowImagesTable extends AbstractMigration
{

    /**
     * Run the migrations.
     *
     * @info Called when extension is enabled. Never runs twice.
     */
    public function up()
    {
        $this->schema->create('flagrow_images', function (Blueprint $table) {
            $table->increments('id');

            // the user who posted the image
            $table->integer('user_id')->unsigned()->nullable();

            // the specific post id this image is appearing in
            $table->integer('post_id')->unsigned();
<commit_msg>seems ext- actually was removed<commit_after><?php 
/*
 * This file is part of flagrow/flarum-ext-image-upload.
 *
 * Copyright (c) Flagrow.
 *
 * http://flagrow.github.io
 *
 * For the full copyright and license information, please view the license.md
 * file that was distributed with this source code.
 */

namespace flagrow\image\upload\Migration;

use Flarum\Database\AbstractMigration;
use Illuminate\Database\Schema\Blueprint;

class CreateFlagrowImagesTable extends AbstractMigration
{

    /**
     * Run the migrations.
     *
     * @info Called when extension is enabled. Never runs twice.
     */
    public function up()
    {
        $this->schema->create('flagrow_images', function (Blueprint $table) {
            $table->increments('id');

            // the user who posted the image
            $table->integer('user_id')->unsigned()->nullable();

            // the specific post id this image is appearing in
            $table->integer('post_id')->unsigned();

{'fraction_non_alphanumeric': 0.1168032786885246, 'fraction_numerical': 0.0, 'mean_word_length': 2.8219178082191783, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '5323651', 'n_tokens_mistral': 531, 'n_tokens_neox': 532, 'n_words': 158}