Sha256: 95b21d903842eeb4a5817d986bdc0697625ba783b3e8663bc082c09bf355f62a
Contents?: true
Size: 325 Bytes
Versions: 25
Compression:
Stored size: 325 Bytes
Contents
class AddAlertIsJsonToRapnsNotifications < ActiveRecord::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[5.0] : ActiveRecord::Migration def self.up add_column :rapns_notifications, :alert_is_json, :boolean, null: true, default: false end def self.down remove_column :rapns_notifications, :alert_is_json end end
Version data entries
25 entries across 25 versions & 2 rubygems