diff options
Diffstat (limited to 'db/migrate/20111106162141_add_phoneable_to_phone.rb')
-rw-r--r-- | db/migrate/20111106162141_add_phoneable_to_phone.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20111106162141_add_phoneable_to_phone.rb b/db/migrate/20111106162141_add_phoneable_to_phone.rb new file mode 100644 index 0000000..7b60ac6 --- /dev/null +++ b/db/migrate/20111106162141_add_phoneable_to_phone.rb @@ -0,0 +1,6 @@ +class AddPhoneableToPhone < ActiveRecord::Migration + def change + add_column :phones, :phoneable_type, :string + add_column :phones, :phoneable_id, :integer + end +end |