Sha256: e9aee32c45d5207382467b20a5ee2ea09071794dced93fb8fcd615021b858139

Contents?: true

Size: 1.82 KB

Versions: 1

Compression:

Stored size: 1.82 KB

Contents

# 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 to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20100225112236) do

  create_table "contents", :force => true do |t|
    t.string   "title"
    t.string   "permalink"
    t.text     "description"
    t.text     "body"
    t.string   "type",         :default => "Page"
    t.integer  "parent_id"
    t.integer  "site_id"
    t.integer  "user_id"
    t.integer  "lft"
    t.integer  "rgt"
    t.datetime "published_at"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "memberships", :force => true do |t|
    t.integer "site_id"
    t.integer "user_id"
  end

  create_table "sites", :force => true do |t|
    t.string  "title"
    t.text    "description"
    t.string  "time_zone"
    t.integer "owner_id"
    t.string  "host"
  end

  create_table "taggings", :force => true do |t|
    t.integer  "tag_id"
    t.integer  "taggable_id"
    t.integer  "tagger_id"
    t.string   "tagger_type"
    t.string   "taggable_type"
    t.string   "context"
    t.datetime "created_at"
  end

  add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"

  create_table "tags", :force => true do |t|
    t.string "name"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
content_engine-0.1.0 db/schema.rb