openstreetmap-website/db/migrate/20120219161649_add_user_image_fingerprint.rb
Tom Hughes 227c402ad1 Don't try and add fingerprints for user images
It won't actually work, and anybody migrating up to the current
schema is never going to use the fingerprints anyway.
2019-07-17 18:49:09 +01:00

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