Sha256: 7b5b455d278b4ef214c751128a6dfe08289a5cd5f737f6bcb5ee89dc729eb751

Contents?: true

Size: 1.67 KB

Versions: 5

Compression:

Stored size: 1.67 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: 20130901232253) do

  create_table "posts", force: true do |t|
    t.integer   "comments_allowed", :default => 1, :null => false
    t.string    "path", :null => false
    t.timestamp "created_at"
  end

  create_table "responses", force: true do |t|
    t.integer  "post_id", :null => false
    t.string   "response_type", :default => 'comment', :null => false
    t.string   "author_name", :null => false
    t.string   "author_email", :null => false
    t.string   "author_url"
    t.string   "author_ip", :length => 15
    t.text     "content", :null => false
    t.integer  "parent_id", :default => 0
    t.integer  "approved", :default => 1, :length => 1, :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index :posts, :path, :unique => true
  add_index :responses, :approved
  add_index :responses, :response_type
  add_index :responses, :post_id
  add_index :responses, :parent_id

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cachai-0.2.8 db/schema.rb
cachai-0.2.7 db/schema.rb
cachai-0.2.6 db/schema.rb
cachai-0.2.5 db/schema.rb
cachai-0.2.4 db/schema.rb