<commit_before><?php

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

class AlterTableWorkFlowInstances extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('work_flow_instances', function (Blueprint $table) {
            //
	        $table->renameColumn('table', 'data_type');
	        $table->integer('sponsor_id')->default(0)->comment('发起人id');
	        $table->string('title')->default('')->comment('标题');
	        $table->string('desc')->default('')->comment('描述');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('work_flow_instances', function (Blueprint $table) {
            //
	        $table->renameColumn('data_type', 'table');
	        $table->dropColumn('title');
	        $table->dropColumn('sponsor_id');
	        $table->dropColumn('desc');
        });
    }
}<commit_msg>add sys_crontabs table<commit_after><?php

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

class AlterTableWorkFlowInstances extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('work_flow_instances', function (Blueprint $table) {
            //
	        $table->renameColumn('table', 'data_type');
	        $table->integer('sponsor_id')->default(0)->comment('发起人id');
	        $table->string('title')->default('')->comment('标题');
	        $table->string('desc')->default('')->comment('描述');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('work_flow_instances', function (Blueprint $table) {
            //
	        $table->renameColumn('data_type', 'table');
	        $table->dropColumn('title');
	        $table->dropColumn('sponsor_id');
	        //$table->dropColumn('desc');
        });
    }
}
{'fraction_non_alphanumeric': 0.1709722874589009, 'fraction_numerical': 0.0009394081728511038, 'mean_word_length': 2.497536945812808, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, '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': '680957', 'n_tokens_mistral': 638, 'n_tokens_neox': 640, 'n_words': 92}