From 9d4f8de011ab8df9c7b3d51bed61d64f8417b6d2 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 24 Nov 2013 12:38:35 +0100 Subject: Upgrade to refinery 2.1.0 --- db/schema.rb | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) (limited to 'db/schema.rb') diff --git a/db/schema.rb b/db/schema.rb index dfb4893..1fce98c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140302204529) do +ActiveRecord::Schema.define(:version => 20151113210550) do create_table "refinery_banners", :force => true do |t| t.string "name" @@ -39,7 +39,6 @@ ActiveRecord::Schema.define(:version => 20140302204529) do t.string "title" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false - t.string "cached_slug" t.string "slug" t.integer "sidebar_position", :default => 0 t.integer "sidebar_items", :default => 5 @@ -55,6 +54,18 @@ ActiveRecord::Schema.define(:version => 20140302204529) do add_index "refinery_blog_categories_blog_posts", ["blog_category_id", "blog_post_id"], :name => "index_blog_categories_blog_posts_on_bc_and_bp" + create_table "refinery_blog_category_translations", :force => true do |t| + t.integer "refinery_blog_category_id" + t.string "locale", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + t.string "title" + t.string "slug" + end + + add_index "refinery_blog_category_translations", ["locale"], :name => "index_refinery_blog_category_translations_on_locale" + add_index "refinery_blog_category_translations", ["refinery_blog_category_id"], :name => "index_a0315945e6213bbe0610724da0ee2de681b77c31" + create_table "refinery_blog_comments", :force => true do |t| t.integer "blog_post_id" t.boolean "spam" @@ -68,6 +79,21 @@ ActiveRecord::Schema.define(:version => 20140302204529) do add_index "refinery_blog_comments", ["id"], :name => "index_refinery_blog_comments_on_id" + create_table "refinery_blog_post_translations", :force => true do |t| + t.integer "refinery_blog_post_id" + t.string "locale", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + t.text "body" + t.text "custom_teaser" + t.string "custom_url" + t.string "slug" + t.string "title" + end + + add_index "refinery_blog_post_translations", ["locale"], :name => "index_refinery_blog_post_translations_on_locale" + add_index "refinery_blog_post_translations", ["refinery_blog_post_id"], :name => "index_refinery_blog_post_translations_on_refinery_blog_post_id" + create_table "refinery_blog_posts", :force => true do |t| t.string "title" t.text "body" @@ -76,7 +102,6 @@ ActiveRecord::Schema.define(:version => 20140302204529) do t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.integer "user_id" - t.string "cached_slug" t.string "custom_url" t.text "custom_teaser" t.string "source_url" @@ -118,7 +143,6 @@ ActiveRecord::Schema.define(:version => 20140302204529) do t.integer "image_width" t.integer "image_height" t.string "image_uid" - t.string "image_ext" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end @@ -228,6 +252,7 @@ ActiveRecord::Schema.define(:version => 20140302204529) do t.string "form_value_type" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false + t.string "slug" end add_index "refinery_settings", ["name"], :name => "index_refinery_settings_on_name" @@ -255,9 +280,11 @@ ActiveRecord::Schema.define(:version => 20140302204529) do t.datetime "reset_password_sent_at" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false + t.string "slug" end add_index "refinery_users", ["id"], :name => "index_refinery_users_on_id" + add_index "refinery_users", ["slug"], :name => "index_refinery_users_on_slug" create_table "refinery_video_files", :force => true do |t| t.string "file_name" @@ -287,7 +314,6 @@ ActiveRecord::Schema.define(:version => 20140302204529) do t.integer "seo_meta_id" t.string "seo_meta_type" t.string "browser_title" - t.string "meta_keywords" t.text "meta_description" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false -- cgit v1.2.3