diff options
Diffstat (limited to 'db/migrate/20110928142747_change_noteable_id_for_note.rb')
-rw-r--r-- | db/migrate/20110928142747_change_noteable_id_for_note.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110928142747_change_noteable_id_for_note.rb b/db/migrate/20110928142747_change_noteable_id_for_note.rb new file mode 100644 index 00000000000..dc9d1f0171a --- /dev/null +++ b/db/migrate/20110928142747_change_noteable_id_for_note.rb @@ -0,0 +1,9 @@ +class ChangeNoteableIdForNote < ActiveRecord::Migration + def up + change_column :notes, :noteable_id, :string + end + + def down + change_column :notes, :noteable_id, :integer + end +end |