Retrospring/db/migrate/20150508144336_add_attachme...

16 lines
450 B
Ruby
Raw Normal View History

class AddAttachmentProfileHeaderToUsers < ActiveRecord::Migration[4.2]
2015-05-08 08:44:16 -07:00
def change
change_table :users do |t|
2020-05-01 15:43:46 -07:00
t.string :profile_header_file_name
t.string :profile_header_content_type
t.bigint :profile_header_file_size
t.datetime :profile_header_updated_at
2015-05-08 08:44:16 -07:00
t.boolean :profile_header_processing
t.integer :crop_h_x
t.integer :crop_h_y
t.integer :crop_h_w
t.integer :crop_h_h
end
end
end