Sha256: ad06d61a40a4f16d07ace71928599e93176e9e65632c04a2129b2ba60522a8ed
Contents?: true
Size: 400 Bytes
Versions: 26
Compression:
Stored size: 400 Bytes
Contents
class AddWpns < ActiveRecord::Migration module Rapns class Notification < ActiveRecord::Base self.table_name = 'rapns_notifications' end end def self.up add_column :rapns_notifications, :uri, :string, null: true end def self.down AddWpns::Rapns::Notification.where(type: 'Rapns::Wpns::Notification').delete_all remove_column :rapns_notifications, :uri end end
Version data entries
26 entries across 26 versions & 1 rubygems