Sha256: 50027e80443f5f87123541b859a61b94700d803dca147e623aa505dcd1e474de
Contents?: true
Size: 1.64 KB
Versions: 10
Compression:
Stored size: 1.64 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 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
10 entries across 10 versions & 1 rubygems