Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 244 Bytes
class CreatePhoneNumbers < ActiveRecord::Migration
def self.up
create_table :phone_numbers do |t|
t.string :number
t.integer :person_id
t.timestamps
end
end
def self.down
drop_table :phone_numbers
end
end
Jump to Line
Something went wrong with that request. Please try again.