<commit_before><?php

use Phpmig\Migration\Migration;

class KsUser extends Migration
{
    /**
     * Do the migration
     */
    public function up()
    {
        $container = $this->getContainer();
        $table = new Doctrine\DBAL\Schema\Table('user');
        $table->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement'=> true));
        $table->addColumn('username', 'string', array('length' => 64, 'null' => false, 'comment' => '用户名'));
        $table->addColumn('password', 'string', array('length' => 64, 'null' => false, 'comment' => '密码'));
        $table->addColumn('salt', 'string', array('length' => 64, 'null' => false, 'comment' => '密码加密Salt'));
        $table->addColumn('roles', 'string', array('length' => 512, 'null' => false, 'comment' => '角色'));
        $table->addColumn('updated', 'integer', array('default' => 0, 'signed' => true));
        $table->addColumn('created', 'integer', array('default' => 0, 'signed' => true));
        $table->addColumn('loginOutTime', 'integer', array('default' => 0, 'signed' => true));
        $table->setPrimaryKey(array('id'));
        $table->addUniqueIndex(array('username'));<commit_msg>status<commit_after><?php

use Phpmig\Migration\Migration;

class KsUser extends Migration
{
    /**
     * Do the migration
     */
    public function up()
    {
        $container = $this->getContainer();
        $table = new Doctrine\DBAL\Schema\Table('user');
        $table->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement'=> true));
        $table->addColumn('username', 'string', array('length' => 64, 'null' => false, 'comment' => '用户名'));
        $table->addColumn('password', 'string', array('length' => 64, 'null' => false, 'comment' => '密码'));
        $table->addColumn('salt', 'string', array('length' => 64, 'null' => false, 'comment' => '密码加密Salt'));
        $table->addColumn('roles', 'string', array('length' => 512, 'null' => false, 'comment' => '角色'));
        $table->addColumn('updated', 'integer', array('default' => 0, 'signed' => true));
        $table->addColumn('created', 'integer', array('default' => 0, 'signed' => true));
        $table->setPrimaryKey(array('id'));
        $table->addUniqueIndex(array('username'));
{'fraction_non_alphanumeric': 0.22942754919499106, 'fraction_numerical': 0.010286225402504472, 'mean_word_length': 3.841991341991342, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 62, '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': '4106779', 'n_tokens_mistral': 710, 'n_tokens_neox': 694, 'n_words': 145}