retrospring/db/migrate/20220909161546_rpush_2_7_0_updates.rb
Karina Kwiatek 92ba2d7c9b Add rpush
2023-01-02 11:50:47 +01:00

12 lines
323 B
Ruby

class Rpush270Updates < ActiveRecord::Migration[5.0]
def self.up
change_column :rpush_notifications, :alert, :text
add_column :rpush_notifications, :notification, :text
end
def self.down
change_column :rpush_notifications, :alert, :string
remove_column :rpush_notifications, :notification
end
end