mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:39:52 +01:00
12 lines
403 B
Ruby
12 lines
403 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddCropValuesToUsers < ActiveRecord::Migration[4.2]
|
|
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
|