# 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 that you check this file into your version control system. ActiveRecord::Schema.define(version: 20141019072902) do create_table "corrector_bases", force: true do |t| t.string "type", limit: 6 t.string "from", null: false t.string "to", null: false t.string "scope" end add_index "corrector_bases", ["scope", "from"], name: "index_corrector_bases_on_scope_and_from", unique: true add_index "corrector_bases", ["type"], name: "index_corrector_bases_on_type" create_table "okei_units", force: true do |t| t.string "name", null: false t.string "code", null: false t.string "num", limit: 3 t.string "int_code", limit: 4 t.string "base", null: false t.string "measure", null: false t.float "factor", null: false end add_index "okei_units", ["base"], name: "index_okei_units_on_base" add_index "okei_units", ["code"], name: "index_okei_units_on_code", unique: true add_index "okei_units", ["measure"], name: "index_okei_units_on_measure" create_table "uuids_uuids", force: true do |t| t.string "value", limit: 36, null: false t.integer "record_id", null: false t.string "record_type", null: false end add_index "uuids_uuids", ["record_id", "record_type"], name: "index_uuids_uuids_on_record_id_and_record_type" add_index "uuids_uuids", ["value"], name: "index_uuids_uuids_on_value", unique: true end