<commit_before><?php

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

class CreateNoticiasTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('noticias', function(Blueprint $table)
		{
			$table->increments('id');
			$table->string('titulo', 45);
			$table->text('conteudo');
			$table->string('imagem', 100);			
			$table->date('data_final')->nullable();
			$table->timestamps();
			$table->boolean('ativo');
			$table->integer('admin_id')->unsigned()->nullable();
			$table->integer('empresa_id')->unsigned()->nullable();
			$table->integer('freelancer_id')->unsigned()->nullable();
		});
	}


	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('noticias');
	}

}
<commit_msg>Correção na migration da tabela Noticias.<commit_after><?php

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

class CreateNoticiasTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('noticias', function(Blueprint $table)
		{
			$table->increments('id');
			$table->string('titulo', 45);
			$table->text('conteudo');
			$table->string('imagem', 100);			
			$table->date('data_final')->nullable();
			$table->timestamps();
			$table->boolean('ativo');
			$table->boolean('principal');
			$table->integer('admin_id')->unsigned()->nullable();
			$table->integer('empresa_id')->unsigned()->nullable();
			$table->integer('freelancer_id')->unsigned()->nullable();
		});
	}


	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('noticias');
	}

}

{'fraction_non_alphanumeric': 0.20137693631669534, 'fraction_numerical': 0.005737234652897304, 'mean_word_length': 4.284848484848485, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 38, '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': '6439116', 'n_tokens_mistral': 646, 'n_tokens_neox': 579, 'n_words': 88}