<commit_before># encoding : utf-8
class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string  :username,           limit: 20
      t.string  :name,               limit: 20,    null: false, default: "星哥粉丝"
      t.string  :password_digest
      t.string  :sex
      t.date    :birthday                          null: false, default: "1970-01-01"
      t.string  :status
      t.integer :height
      t.string  :position
      t.string  :address
      t.string  :relation
      t.string  :image
      t.integer :rights                           null: false, default: "2"
      t.integer :score,                           null: false, default: 0
      t.text    :description,        limit:100
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end<commit_msg>migrate bug解决<commit_after># encoding : utf-8
class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string  :username,           limit: 20
      t.string  :name,               limit: 20,    null: false, default: "星哥粉丝"
      t.string  :password_digest
      t.string  :sex
      t.date    :birthday,                         null: false, default: "1970-01-01"
      t.string  :status
      t.integer :height
      t.string  :position
      t.string  :address
      t.string  :relation
      t.string  :image
      t.integer :rights,                          null: false, default: "2"
      t.integer :score,                           null: false, default: 0
      t.text    :description,        limit: 100
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
{'fraction_non_alphanumeric': 0.08811104405552203, 'fraction_numerical': 0.02172601086300543, 'mean_word_length': 1.5235920852359208, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '811310', 'n_tokens_mistral': 536, 'n_tokens_neox': 513, 'n_words': 141}