mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 01:06:05 +01:00
11 lines
412 B
Ruby
11 lines
412 B
Ruby
class Rpush331Updates < ActiveRecord::Migration[5.0]
|
|
def self.up
|
|
change_column :rpush_notifications, :device_token, :string, null: true
|
|
change_column :rpush_feedback, :device_token, :string, null: true
|
|
end
|
|
|
|
def self.down
|
|
change_column :rpush_notifications, :device_token, :string, null: true, limit: 64
|
|
change_column :rpush_feedback, :device_token, :string, null: true, limit: 64
|
|
end
|
|
end
|