<commit_before><commit_msg>Добавлена таблица region<commit_after><?php

use yii\db\Migration;

/**
 * Handles the creation of table `region`.
 */
class m161114_192827_create_region_table extends Migration
{
    /**
     * @inheritdoc
     */
    public function up()
    {
        $this->createTable('region', [
            'id' => $this->primaryKey(),
						'name' => $this->string(250)->notNull()->unique()
        ]);
    }

    /**
     * @inheritdoc
     */
    public function down()
    {
        $this->dropTable('region');
    }
}
{'fraction_non_alphanumeric': 0.16697588126159554, 'fraction_numerical': 0.027829313543599257, 'mean_word_length': 2.3333333333333335, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 11, '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': '6607263', 'n_tokens_mistral': 190, 'n_tokens_neox': 178, 'n_words': 29}