Commit c5b5a2967b1c05e55942e370e1ada734f78a1a3b
1 parent
f5ff10a3
Exists in
master
and in
27 other branches
db/schema.rb: update
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
db/schema.rb
... | ... | @@ -655,12 +655,14 @@ ActiveRecord::Schema.define(:version => 20150122165042) do |
655 | 655 | end |
656 | 656 | |
657 | 657 | add_index "taggings", ["tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type"], :name => "taggings_idx", :unique => true |
658 | + add_index "taggings", ["taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context" | |
658 | 659 | add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" |
659 | 660 | |
660 | 661 | create_table "tags", :force => true do |t| |
661 | 662 | t.string "name" |
662 | 663 | t.integer "parent_id" |
663 | - t.boolean "pending", :default => false | |
664 | + t.boolean "pending", :default => false | |
665 | + t.integer "taggings_count", :default => 0 | |
664 | 666 | end |
665 | 667 | |
666 | 668 | add_index "tags", ["name"], :name => "index_tags_on_name", :unique => true | ... | ... |