journalduhacker/db/migrate/20150115172138_drop_extra_pushover_fields.rb

12 lines
358 B
Ruby
Raw Normal View History

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