Sha256: 8b56854e08e0b716790d5a9ee87f40690ff49edbef98f5896125f7f73fdec585

Contents?: true

Size: 1.54 KB

Versions: 10

Compression:

Stored size: 1.54 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: 20140312000846) do

  create_table "comments", force: true do |t|
    t.string   "title",            limit: 50, default: ""
    t.text     "comment"
    t.integer  "commentable_id"
    t.string   "commentable_type"
    t.integer  "user_id"
    t.string   "role",                        default: "comments"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "comments", ["commentable_id"], name: "index_comments_on_commentable_id", using: :btree
  add_index "comments", ["commentable_type"], name: "index_comments_on_commentable_type", using: :btree
  add_index "comments", ["user_id"], name: "index_comments_on_user_id", using: :btree

  create_table "dummy_models", force: true do |t|
    t.text     "text"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
commenteux-1.1.2 spec/dummy/db/schema.rb
commenteux-1.1.1 spec/dummy/db/schema.rb
commenteux-1.1.0 spec/dummy/db/schema.rb
commenteux-1.0.6 spec/dummy/db/schema.rb
commenteux-1.0.5 spec/dummy/db/schema.rb
commenteux-1.0.4 spec/dummy/db/schema.rb
commenteux-1.0.3 spec/dummy/db/schema.rb
commenteux-1.0.2 spec/dummy/db/schema.rb
commenteux-1.0.1 spec/dummy/db/schema.rb
commenteux-1.0.0 spec/dummy/db/schema.rb