retrospring/db/migrate/20200517192431_remove_paperclip_fields.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
436 B
Ruby
Raw Normal View History

2023-10-20 01:37:34 +02:00
# frozen_string_literal: true
2020-05-17 21:32:11 +02:00
class RemovePaperclipFields < ActiveRecord::Migration[5.2]
def change
remove_column :users, :profile_picture_content_type
remove_column :users, :profile_picture_file_size
remove_column :users, :profile_picture_updated_at
remove_column :users, :profile_header_content_type
remove_column :users, :profile_header_file_size
remove_column :users, :profile_header_updated_at
end
end