Sha256: 9dfda3ff38b57cd19d4ed0b24ad25578a758cf37bd64e60c16edf4393c5742ff

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 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: 20160514163909) do

  create_table "urls", force: :cascade do |t|
    t.string "url_pattern"
    t.string "name"
    t.string "http_method"
  end

  create_table "user_groups", force: :cascade do |t|
    t.string "name"
  end

  add_index "user_groups", ["name"], name: "index_user_groups_on_name"

  create_table "users", force: :cascade do |t|
    t.string "name"
    t.string "api_code"
  end

  add_index "users", ["name"], name: "index_users_on_name"

  create_table "users_groups", force: :cascade do |t|
    t.integer "user_group_id"
    t.integer "user_id"
  end

  create_table "users_urls", force: :cascade do |t|
    t.integer "users_group_id"
    t.integer "url_id"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oauth_service-0.0.1 test/dummy/db/schema.rb