<commit_before><?php

use MyPhpmig\Police\Migration;

class AddStreetsToContacts extends Migration
{
    /**
     * Do the migration
     */
    public function up()
    {
        $this->_queries = "ALTER TABLE `contacts` ADD `streets_street_id` INT(11)  NULL  DEFAULT NULL  AFTER `contacts_category_id`;";
        $this->_queries .= "ALTER TABLE `contacts` ADD `number` VARCHAR(100)  NULL  DEFAULT NULL  AFTER `position`;";

        parent::up();

        // All the multilingual zones.
        $this->getZones()->reset()->where('language', '=', 3);

        $this->_queries = "ALTER TABLE `fr-fr_contacts` ADD `streets_street_id` INT(11)  NULL  DEFAULT NULL  AFTER `contacts_category_id`;";
        $this->_queries .= "ALTER TABLE `contacts` ADD `number` VARCHAR(100)  NULL  DEFAULT NULL  AFTER `position`;";

        parent::up();
    }

    /**
     * Undo the migration
     */
    public function down()
    {
        $this->_queries = "ALTER TABLE `contacts` DROP `streets_street_id`;";
        $this->_queries .= "ALTER TABLE `contacts` DROP `number`;";
<commit_msg>re #868 - Typo<commit_after><?php

use MyPhpmig\Police\Migration;

class AddStreetsToContacts extends Migration
{
    /**
     * Do the migration
     */
    public function up()
    {
        $this->_queries = "ALTER TABLE `contacts` ADD `streets_street_id` INT(11)  NULL  DEFAULT NULL  AFTER `contacts_category_id`;";
        $this->_queries .= "ALTER TABLE `contacts` ADD `number` VARCHAR(100)  NULL  DEFAULT NULL  AFTER `position`;";

        parent::up();

        // All the multilingual zones.
        $this->getZones()->reset()->where('language', '=', 3);

        $this->_queries = "ALTER TABLE `fr-fr_contacts` ADD `streets_street_id` INT(11)  NULL  DEFAULT NULL  AFTER `contacts_category_id`;";
        $this->_queries .= "ALTER TABLE `fr-fr_contacts` ADD `number` VARCHAR(100)  NULL  DEFAULT NULL  AFTER `position`;";

        parent::up();
    }

    /**
     * Undo the migration
     */
    public function down()
    {
        $this->_queries = "ALTER TABLE `contacts` DROP `streets_street_id`;";
        $this->_queries .= "ALTER TABLE `contacts` DROP `number`;";

{'fraction_non_alphanumeric': 0.1443155452436195, 'fraction_numerical': 0.01160092807424594, 'mean_word_length': 2.891696750902527, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '1220142', 'n_tokens_mistral': 744, 'n_tokens_neox': 706, 'n_words': 176}