journalduhacker/db/migrate/20150115172138_drop_extra_pushover_fields.rb
joshua stein 231111cb86 drop extra pushover user fields
extra pushover data is now stored in the subscription, we don't need
it

user keys to subscription keys can be migrated by using
https://pushover.net/api/subscriptions#migration
2015-01-15 13:23:31 -06:00

12 lines
358 B
Ruby

class DropExtraPushoverFields < ActiveRecord::Migration
# extra pushover data is now stored in the subscription, we don't need it
#
# user keys to subscription keys can be migrated by using
# https://pushover.net/api/subscriptions#migration
def change
remove_column :users, :pushover_device
remove_column :users, :pushover_sound
end
end