mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 01:06:05 +01:00
12 lines
323 B
Ruby
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
|
|
|