<commit_before><?php

use Phinx\Migration\AbstractMigration;

class UserLoginHistory extends AbstractMigration
{
    /**
     * Change Method.
     */
    public function change()
    {
        if( !$this->hasTable( 'UserLoginHistories' ) )
        {
            $table = $this->table( 'UserLoginHistories' );
            $table->addColumn( 'uid', 'integer' )
                  ->addColumn( 'type', 'integer', [ 'length' => 1 ] )
                  ->addColumn( 'ip', 'string', [ 'length' => 16 ] )
                  ->addColumn( 'user_agent', 'string' )
                  ->addColumn( 'created_at', 'integer' )
                  ->addColumn( 'updated_at', 'integer', [ 'null' => true, 'default' => null ] )
                  ->create();
        }
    }
    
    /**
     * Migrate Up.
     */
    public function up()
    {
    
    }

    /**
     * Migrate Down.
     */
    public function down()
    {

    }
}<commit_msg>bump up user login history ip character length for ipv6<commit_after><?php

use Phinx\Migration\AbstractMigration;

class UserLoginHistory extends AbstractMigration
{
    /**
     * Change Method.
     */
    public function change()
    {
        if( !$this->hasTable( 'UserLoginHistories' ) )
        {
            $table = $this->table( 'UserLoginHistories' );
            $table->addColumn( 'uid', 'integer' )
                  ->addColumn( 'type', 'integer', [ 'length' => 1 ] )
                  ->addColumn( 'ip', 'string', [ 'length' => 45 ] )
                  ->addColumn( 'user_agent', 'string' )
                  ->addColumn( 'created_at', 'integer' )
                  ->addColumn( 'updated_at', 'integer', [ 'null' => true, 'default' => null ] )
                  ->create();
        }
    }
    
    /**
     * Migrate Up.
     */
    public function up()
    {
    
    }

    /**
     * Migrate Down.
     */
    public function down()
    {

    }
}
{'fraction_non_alphanumeric': 0.15945089757127773, 'fraction_numerical': 0.003695881731784583, 'mean_word_length': 1.5887978142076502, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '5525930', 'n_tokens_mistral': 581, 'n_tokens_neox': 561, 'n_words': 119}