Sha256: 11ce86fed0cb41dae356396da1e2784f314eebe885f1a989dcdcaaf8aa0273da

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

# 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: 20151215182355) do

  create_table "cities", force: :cascade do |t|
    t.string   "state_uuid", limit: 36
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "records", force: :cascade do |t|
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "states", force: :cascade do |t|
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "uuids_uuids", force: :cascade do |t|
    t.string  "value",       limit: 36,  null: false
    t.integer "record_id",               null: false
    t.string  "record_type", limit: 255, 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uuids-4.1.5 spec/dummy/db/schema.rb