# This file is auto-generated from the current state of the database. Instead of editing this file, # please use the migrations feature of ActiveRecord 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 => 66) do create_table "articles_tags", :id => false, :force => true do |t| t.integer "article_id" t.integer "tag_id" end create_table "blacklist_patterns", :force => true do |t| t.string "type" t.string "pattern" end add_index "blacklist_patterns", ["pattern"], :name => "index_blacklist_patterns_on_pattern" create_table "blogs", :force => true do |t| t.text "settings" t.string "base_url" end create_table "categories", :force => true do |t| t.string "name" t.integer "position" t.string "permalink" end add_index "categories", ["permalink"], :name => "index_categories_on_permalink" create_table "categorizations", :force => true do |t| t.integer "article_id" t.integer "category_id" t.boolean "is_primary" end create_table "contents", :force => true do |t| t.string "type" t.string "title" t.string "author" t.text "body" t.text "extended" t.text "excerpt" t.string "keywords" t.datetime "created_at" t.datetime "updated_at" t.integer "user_id" t.string "permalink" t.string "guid" t.integer "text_filter_id" t.text "whiteboard" t.string "name" t.boolean "published", :default => false t.boolean "allow_pings" t.boolean "allow_comments" t.integer "blog_id", :null => false t.datetime "published_at" t.string "state" end add_index "contents", ["blog_id"], :name => "index_contents_on_blog_id" add_index "contents", ["published"], :name => "index_contents_on_published" add_index "contents", ["text_filter_id"], :name => "index_contents_on_text_filter_id" create_table "feedback", :force => true do |t| t.string "type" t.string "title" t.string "author" t.text "body" t.text "excerpt" t.datetime "created_at" t.datetime "updated_at" t.integer "user_id" t.string "guid" t.integer "text_filter_id" t.text "whiteboard" t.integer "article_id" t.string "email" t.string "url" t.string "ip", :limit => 40 t.string "blog_name" t.boolean "published", :default => false t.integer "blog_id", :null => false t.datetime "published_at" t.string "state" t.boolean "status_confirmed" end add_index "feedback", ["article_id"], :name => "index_feedback_on_article_id" add_index "feedback", ["text_filter_id"], :name => "index_feedback_on_text_filter_id" create_table "notifications", :force => true do |t| t.integer "content_id" t.integer "user_id" t.datetime "created_at" t.datetime "updated_at" end create_table "page_caches", :force => true do |t| t.string "name" end add_index "page_caches", ["name"], :name => "index_page_caches_on_name" create_table "pings", :force => true do |t| t.integer "article_id" t.string "url" t.datetime "created_at" end add_index "pings", ["article_id"], :name => "index_pings_on_article_id" create_table "profiles", :force => true do |t| t.string "label" t.string "nicename" end create_table "profiles_to_rights", :force => true do |t| t.integer "profile_id" t.integer "right_id" end create_table "redirects", :force => true do |t| t.string "from_path" t.string "to_path" end create_table "resources", :force => true do |t| t.integer "size" t.string "filename" t.string "mime" t.datetime "created_at" t.datetime "updated_at" t.integer "article_id" t.boolean "itunes_metadata" t.string "itunes_author" t.string "itunes_subtitle" t.integer "itunes_duration" t.text "itunes_summary" t.string "itunes_keywords" t.string "itunes_category" t.boolean "itunes_explicit" end create_table "rights", :force => true do |t| t.string "name" t.string "description" end create_table "sessions", :force => true do |t| t.string "sessid" t.text "data" t.datetime "created_at" t.datetime "updated_at" end add_index "sessions", ["sessid"], :name => "index_sessions_on_sessid" create_table "sidebars", :force => true do |t| t.integer "active_position" t.text "config" t.integer "staged_position" t.string "type" t.integer "blog_id" end create_table "sitealizer", :force => true do |t| t.string "path" t.string "ip" t.string "referer" t.string "language" t.string "user_agent" t.datetime "created_at" t.date "created_on" end create_table "tags", :force => true do |t| t.string "name" t.datetime "created_at" t.datetime "updated_at" t.string "display_name" end create_table "text_filters", :force => true do |t| t.string "name" t.string "description" t.string "markup" t.text "filters" t.text "params" end create_table "triggers", :force => true do |t| t.integer "pending_item_id" t.string "pending_item_type" t.datetime "due_at" t.string "trigger_method" end create_table "users", :force => true do |t| t.string "login" t.string "password" t.text "email" t.text "name" t.boolean "notify_via_email" t.boolean "notify_on_new_articles" t.boolean "notify_on_comments" t.boolean "notify_watch_my_articles" t.boolean "notify_via_jabber" t.string "jabber" t.integer "profile_id" end end