Merge branch 'master' into feat-public-favgroups

This commit is contained in:
Albert Yi
2017-12-19 15:42:56 -08:00
committed by GitHub
12 changed files with 173 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
class AddMetadataToPostReplacements < ActiveRecord::Migration
def change
PostReplacement.without_timeout do
add_column :post_replacements, :file_ext_was, :string
add_column :post_replacements, :file_size_was, :integer
add_column :post_replacements, :image_width_was, :integer
add_column :post_replacements, :image_height_was, :integer
add_column :post_replacements, :md5_was, :string
add_column :post_replacements, :file_ext, :string
add_column :post_replacements, :file_size, :integer
add_column :post_replacements, :image_width, :integer
add_column :post_replacements, :image_height, :integer
add_column :post_replacements, :md5, :string
end
end
end