Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6281dbc1ee
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.338 kb
class CreateApnApps < ActiveRecord::Migration # :nodoc:
def self.up
create_table :apn_apps do |t|
t.text :apn_dev_cert
t.text :apn_prod_cert
t.timestamps
end
add_column :apn_devices, :app_id, :integer
end
def self.down
drop_table :apn_apps
remove_column :apn_devices, :app_id
end
end
Jump to Line
Something went wrong with that request. Please try again.