Commit 5fa16d4815cd9e33c9685097be02ed0e3bd127bb
1 parent
4cbc8c77
Exists in
master
and in
22 other branches
Updating database schema.
If everything goes right, this is the last time we have these ugly schema.rb changes. (cf. 4cbc8c7747e86010b492d3871b6188e04634cbf4)
Showing
1 changed file
with
11 additions
and
10 deletions
Show diff stats
db/schema.rb
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | # |
| 10 | 10 | # It's strongly recommended to check this file into your version control system. |
| 11 | 11 | |
| 12 | -ActiveRecord::Schema.define(:version => 77) do | |
| 12 | +ActiveRecord::Schema.define(:version => 78) do | |
| 13 | 13 | |
| 14 | 14 | create_table "article_versions", :force => true do |t| |
| 15 | 15 | t.integer "article_id" |
| ... | ... | @@ -88,8 +88,8 @@ ActiveRecord::Schema.define(:version => 77) do |
| 88 | 88 | t.boolean "virtual", :default => false |
| 89 | 89 | end |
| 90 | 90 | |
| 91 | - add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id" | |
| 92 | 91 | add_index "articles_categories", ["article_id"], :name => "index_articles_categories_on_article_id" |
| 92 | + add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id" | |
| 93 | 93 | |
| 94 | 94 | create_table "blocks", :force => true do |t| |
| 95 | 95 | t.string "title" |
| ... | ... | @@ -103,10 +103,10 @@ ActiveRecord::Schema.define(:version => 77) do |
| 103 | 103 | t.datetime "fetched_at" |
| 104 | 104 | end |
| 105 | 105 | |
| 106 | - add_index "blocks", ["type"], :name => "index_blocks_on_type" | |
| 107 | - add_index "blocks", ["fetched_at"], :name => "index_blocks_on_fetched_at" | |
| 108 | - add_index "blocks", ["enabled"], :name => "index_blocks_on_enabled" | |
| 109 | 106 | add_index "blocks", ["box_id"], :name => "index_blocks_on_box_id" |
| 107 | + add_index "blocks", ["enabled"], :name => "index_blocks_on_enabled" | |
| 108 | + add_index "blocks", ["fetched_at"], :name => "index_blocks_on_fetched_at" | |
| 109 | + add_index "blocks", ["type"], :name => "index_blocks_on_type" | |
| 110 | 110 | |
| 111 | 111 | create_table "boxes", :force => true do |t| |
| 112 | 112 | t.string "owner_type" |
| ... | ... | @@ -136,8 +136,8 @@ ActiveRecord::Schema.define(:version => 77) do |
| 136 | 136 | t.boolean "virtual", :default => false |
| 137 | 137 | end |
| 138 | 138 | |
| 139 | - add_index "categories_profiles", ["profile_id"], :name => "index_categories_profiles_on_profile_id" | |
| 140 | 139 | add_index "categories_profiles", ["category_id"], :name => "index_categories_profiles_on_category_id" |
| 140 | + add_index "categories_profiles", ["profile_id"], :name => "index_categories_profiles_on_profile_id" | |
| 141 | 141 | |
| 142 | 142 | create_table "comments", :force => true do |t| |
| 143 | 143 | t.string "title" |
| ... | ... | @@ -159,7 +159,8 @@ ActiveRecord::Schema.define(:version => 77) do |
| 159 | 159 | t.string "name" |
| 160 | 160 | t.string "owner_type" |
| 161 | 161 | t.integer "owner_id" |
| 162 | - t.boolean "is_default", :default => false | |
| 162 | + t.boolean "is_default", :default => false | |
| 163 | + t.string "google_maps_key" | |
| 163 | 164 | end |
| 164 | 165 | |
| 165 | 166 | create_table "environments", :force => true do |t| |
| ... | ... | @@ -189,8 +190,8 @@ ActiveRecord::Schema.define(:version => 77) do |
| 189 | 190 | t.integer "update_errors", :default => 0 |
| 190 | 191 | end |
| 191 | 192 | |
| 192 | - add_index "external_feeds", ["fetched_at"], :name => "index_external_feeds_on_fetched_at" | |
| 193 | 193 | add_index "external_feeds", ["enabled"], :name => "index_external_feeds_on_enabled" |
| 194 | + add_index "external_feeds", ["fetched_at"], :name => "index_external_feeds_on_fetched_at" | |
| 194 | 195 | |
| 195 | 196 | create_table "favorite_enteprises_people", :id => false, :force => true do |t| |
| 196 | 197 | t.integer "person_id" |
| ... | ... | @@ -224,8 +225,8 @@ ActiveRecord::Schema.define(:version => 77) do |
| 224 | 225 | t.datetime "updated_at" |
| 225 | 226 | end |
| 226 | 227 | |
| 227 | - add_index "product_categorizations", ["product_id"], :name => "index_product_categorizations_on_product_id" | |
| 228 | 228 | add_index "product_categorizations", ["category_id"], :name => "index_product_categorizations_on_category_id" |
| 229 | + add_index "product_categorizations", ["product_id"], :name => "index_product_categorizations_on_product_id" | |
| 229 | 230 | |
| 230 | 231 | create_table "products", :force => true do |t| |
| 231 | 232 | t.integer "enterprise_id" |
| ... | ... | @@ -305,8 +306,8 @@ ActiveRecord::Schema.define(:version => 77) do |
| 305 | 306 | t.datetime "created_at" |
| 306 | 307 | end |
| 307 | 308 | |
| 308 | - add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" | |
| 309 | 309 | add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id" |
| 310 | + add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" | |
| 310 | 311 | |
| 311 | 312 | create_table "tags", :force => true do |t| |
| 312 | 313 | t.string "name" | ... | ... |