<commit_before><?php

use yii\db\Schema;
use yii\db\Migration;

class m150109_010000_express extends Migration{

	public function up(){
		$tableOptions = 'engine=innodb character set utf8';
		if($this->db->driverName === 'mysql') {
			$tableOptions .= ' collate utf8_unicode_ci';
		}

		$this->createTable('{{%express}}', [
			'id' => Schema::TYPE_PK . ' comment "快递单id"',
			'mode' => Schema::TYPE_STRING . '(50) not null comment "方式"',
			'name' => Schema::TYPE_STRING . '(50) comment "名称"',
			'number' => Schema::TYPE_STRING . ' not null comment "快递单号"',
			'created_at' => Schema::TYPE_INTEGER . ' not null comment "创建时间"',
			'updated_at' => Schema::TYPE_INTEGER . ' not null comment "更新时间"',
		], $tableOptions . ' comment="快递信息"');
	}

	public function down(){
		$this->dropTable('{{%express}}');
	}

}<commit_msg>express<commit_after><?php

use yii\db\Schema;
use yii\db\Migration;

class m150109_010000_express extends Migration{

	public function up(){
		$tableOptions = 'engine=innodb character set utf8';
		if($this->db->driverName === 'mysql') {
			$tableOptions .= ' collate utf8_unicode_ci';
		}

		$this->createTable('{{%express}}', [
			'id' => Schema::TYPE_PK . ' comment "快递单id"',
			'mode' => Schema::TYPE_STRING . '(50) not null comment "方式"',
			'name' => Schema::TYPE_STRING . '(50) comment "名称"',
			'number' => Schema::TYPE_STRING . ' not null comment "快递单号"',
			'created_at' => Schema::TYPE_INTEGER . ' not null comment "创建时间"',
			'updated_at' => Schema::TYPE_INTEGER . ' not null comment "更新时间"',
		], $tableOptions . ' comment="快递记录"');
	}

	public function down(){
		$this->dropTable('{{%express}}');
	}

}
{'fraction_non_alphanumeric': 0.19536019536019536, 'fraction_numerical': 0.02197802197802198, 'mean_word_length': 4.445182724252492, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '3815753', 'n_tokens_mistral': 669, 'n_tokens_neox': 619, 'n_words': 126}