Commit 3c0d4c5ce7546b923af8ffd451f9324db704d160
1 parent
4d1354f8
Exists in
master
and in
29 other branches
ActionItem392: updating DB schema
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2034 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
db/schema.rb
... | ... | @@ -68,8 +68,8 @@ ActiveRecord::Schema.define(:version => 41) do |
68 | 68 | t.integer "category_id" |
69 | 69 | end |
70 | 70 | |
71 | - add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id" | |
72 | 71 | add_index "articles_categories", ["article_id"], :name => "index_articles_categories_on_article_id" |
72 | + add_index "articles_categories", ["category_id"], :name => "index_articles_categories_on_category_id" | |
73 | 73 | |
74 | 74 | create_table "blocks", :force => true do |t| |
75 | 75 | t.string "title" |
... | ... | @@ -217,8 +217,8 @@ ActiveRecord::Schema.define(:version => 41) do |
217 | 217 | t.datetime "created_at" |
218 | 218 | end |
219 | 219 | |
220 | - add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" | |
221 | 220 | add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id" |
221 | + add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" | |
222 | 222 | |
223 | 223 | create_table "tags", :force => true do |t| |
224 | 224 | t.string "name" | ... | ... |