12 lines
396 B
Ruby
12 lines
396 B
Ruby
|
class Rpush210Updates < ActiveRecord::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[5.0] : ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :rpush_notifications, :url_args, :text, null: true
|
||
|
add_column :rpush_notifications, :category, :string, null: true
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :rpush_notifications, :url_args
|
||
|
remove_column :rpush_notifications, :category
|
||
|
end
|
||
|
end
|