Sha256: de673057a728a0784a38e86dc912fa48489abcef1dd23e4946ad1938c7d1c8de
Contents?: true
Size: 1.74 KB
Versions: 3
Compression:
Stored size: 1.74 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: 20150622182214) do create_table "authors", force: :cascade do |t| t.string "full_name" t.string "slug" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "authors_roles", id: false, force: :cascade do |t| t.integer "author_id" t.integer "role_id" end add_index "authors_roles", ["author_id", "role_id"], name: "index_authors_roles_on_author_id_and_role_id" create_table "books", force: :cascade do |t| t.string "title" t.string "slug" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "roles", force: :cascade do |t| t.string "name" t.integer "resource_id" t.string "resource_type" t.datetime "created_at" t.datetime "updated_at" end add_index "roles", ["name", "resource_type", "resource_id"], name: "index_roles_on_name_and_resource_type_and_resource_id" add_index "roles", ["name"], name: "index_roles_on_name" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
friendly_id-method_scopes-0.1.7 | spec/dummy/db/schema.rb |
friendly_id-method_scopes-0.1.6 | spec/dummy/db/schema.rb |
friendly_id-method_scopes-0.1.5 | spec/dummy/db/schema.rb |