mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
9 lines
273 B
Ruby
9 lines
273 B
Ruby
class RemovePaperclipColumnsFromPhotos < ActiveRecord::Migration[5.1]
|
|
def change
|
|
remove_column :photos, :photo_file_name
|
|
remove_column :photos, :photo_content_type
|
|
remove_column :photos, :photo_file_size
|
|
remove_column :photos, :photo_updated_at
|
|
end
|
|
end
|