# 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: 20160122150718) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" create_table "appendages", id: :bigserial, force: :cascade do |t| t.integer "user_id", limit: 8 t.integer "value" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "digits", id: :bigserial, force: :cascade do |t| t.integer "appendage_id", limit: 8 t.integer "value" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "faces", id: :bigserial, force: :cascade do |t| t.integer "user_id", limit: 8 t.datetime "created_at" t.datetime "updated_at" end create_table "features", id: :bigserial, force: :cascade do |t| t.integer "owner_id", limit: 8 t.string "owner_type", limit: 255 t.integer "value" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "mirror_users", id: :bigserial, force: :cascade do |t| t.integer "user_id", limit: 8 t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "roots", id: :bigserial, force: :cascade do |t| t.integer "user_id", limit: 8 t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "switchman_shards", id: :bigserial, force: :cascade do |t| t.string "name", limit: 255 t.string "database_server_id", limit: 255 t.boolean "default", default: false, null: false end create_table "users", id: :bigserial, force: :cascade do |t| t.string "name", limit: 255 t.integer "mirror_user_id", limit: 8 t.datetime "created_at", null: false t.datetime "updated_at", null: false t.integer "parent_id", limit: 8 t.integer "broken_id", limit: 8 end end