spec/dummy/db/schema.rb in tb_blog-1.1.3 vs spec/dummy/db/schema.rb in tb_blog-1.2.0

- old
+ new

@@ -9,11 +9,11 @@ # 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: 20140730131550) do +ActiveRecord::Schema.define(version: 20140811161503) do create_table "spud_liquid_tags", force: true do |t| t.integer "attachment_id" t.string "attachment_type" t.string "tag_name" @@ -71,13 +71,15 @@ t.boolean "spam" t.string "user_ip" t.string "user_agent" t.string "referrer" t.string "permalink" + t.string "blog_key" end add_index "spud_post_comments", ["approved"], name: "index_spud_post_comments_on_approved", using: :btree + add_index "spud_post_comments", ["blog_key"], name: "index_spud_post_comments_on_blog_key", using: :btree add_index "spud_post_comments", ["spud_post_id"], name: "index_spud_post_comments_on_spud_post_id", using: :btree create_table "spud_post_sites", force: true do |t| t.integer "spud_post_id", null: false t.integer "spud_site_id", null: false @@ -102,11 +104,13 @@ t.string "meta_keywords" t.text "meta_description" t.integer "comments_count", default: 0 t.string "content_format", default: "HTML" t.text "content_processed" + t.string "blog_key" end + add_index "spud_posts", ["blog_key"], name: "index_spud_posts_on_blog_key", using: :btree add_index "spud_posts", ["is_news"], name: "index_spud_posts_on_is_news", using: :btree add_index "spud_posts", ["spud_user_id"], name: "index_spud_posts_on_spud_user_id", using: :btree add_index "spud_posts", ["url_name"], name: "index_spud_posts_on_url_name", using: :btree add_index "spud_posts", ["visible"], name: "index_spud_posts_on_visible", using: :btree