Added fifth tag category meta
This commit is contained in:
7
db/migrate/20171106075030_add_tag_count_meta_to_posts.rb
Normal file
7
db/migrate/20171106075030_add_tag_count_meta_to_posts.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddTagCountMetaToPosts < ActiveRecord::Migration
|
||||
def change
|
||||
Post.without_timeout do
|
||||
add_column :posts, :tag_count_meta, :integer, default: 0, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user