Retrospring/db/migrate/20141229133149_add_crop_val...

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

13 lines
403 B
Ruby
Raw Normal View History

2023-10-19 16:37:34 -07:00
# frozen_string_literal: true
class AddCropValuesToUsers < ActiveRecord::Migration[4.2]
2014-12-29 05:49:57 -08:00
def change
# this is a ugly hack and will stay until I find a way to pass parameters
# to the paperclip Sidekiq worker. oh well.
add_column :users, :crop_x, :integer
add_column :users, :crop_y, :integer
add_column :users, :crop_w, :integer
add_column :users, :crop_h, :integer
end
end