It won't actually work, and anybody migrating up to the current schema is never going to use the fingerprints anyway.
9 lines
209 B
Ruby
9 lines
209 B
Ruby
class AddUserImageFingerprint < ActiveRecord::Migration[4.2]
|
|
def up
|
|
add_column :users, :image_fingerprint, :string, :null => true
|
|
end
|
|
|
|
def down
|
|
remove_column :users, :image_fingerprint
|
|
end
|
|
end
|