10 lines
282 B
Ruby
10 lines
282 B
Ruby
|
class Rpush324Updates < ActiveRecord::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[5.0] : ActiveRecord::Migration
|
||
|
def self.up
|
||
|
change_column :rpush_apps, :apn_key, :text, null: true
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
change_column :rpush_apps, :apn_key, :string, null: true
|
||
|
end
|
||
|
end
|