<commit_before># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(version: 20130429134229) do
  create_table 'domains', force: true do |t|
    t.string   'name'
    t.string   'master'
    t.integer  'last_check'
    t.string   'type',           default: 'NATIVE'
    t.integer  'notified_serial'
    t.string   'account'
    t.integer  'ttl',            default: 86400
    t.datetime 'created_at',     null: false
    t.datetime 'updated_at',     null: false
    t.integer  'user_id'
    t.text     'notes'
  end

  add_index 'domains', %w(name), name: 'index_domains_on_name'

  create_table 'records', force: true do |t|
    t.integer  'domain_id',   null: false
    t.string   'name',        null: false
    t.string   'type',        null: false
    t.string   'content',     null: false
    t.integer  'ttl',         null: false
    t.integer  'prio'
    t.integer  'change_date', null: false
    t.datetime 'created_at'
    t.datetime 'updated_at'
  end

  add_index 'records', %w(domain_id), name: 'index_records_on_domain_id'
  add_index 'records', %w(name type), name: 'index_records_on_name_and_type'
  add_index 'records', %w(name), name: 'index_records_on_name'
end
<commit_msg>change schema, change_date allow null<commit_after># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(version: 20130429134229) do
  create_table 'domains', force: true do |t|
    t.string   'name'
    t.string   'master'
    t.integer  'last_check'
    t.string   'type',           default: 'NATIVE'
    t.integer  'notified_serial'
    t.string   'account'
    t.integer  'ttl',            default: 86400
    t.datetime 'created_at',     null: false
    t.datetime 'updated_at',     null: false
    t.integer  'user_id'
    t.text     'notes'
  end

  add_index 'domains', %w(name), name: 'index_domains_on_name'

  create_table 'records', force: true do |t|
    t.integer  'domain_id',   null: false
    t.string   'name',        null: false
    t.string   'type',        null: false
    t.string   'content',     null: false
    t.integer  'ttl',         null: false
    t.integer  'prio'
    t.integer  'change_date'
    t.datetime 'created_at'
    t.datetime 'updated_at'
  end

  add_index 'records', %w(domain_id), name: 'index_records_on_domain_id'
  add_index 'records', %w(name type), name: 'index_records_on_name_and_type'
  add_index 'records', %w(name), name: 'index_records_on_name'
end

{'fraction_non_alphanumeric': 0.09252948885976409, 'fraction_numerical': 0.010484927916120577, 'mean_word_length': 3.4013840830449826, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3652789', 'n_tokens_mistral': 1205, 'n_tokens_neox': 1154, 'n_words': 418}