gitlab-org--gitlab-foss/db/migrate/20110928142747_change_notea...

10 lines
190 B
Ruby
Raw Normal View History

2011-10-08 21:36:38 +00:00
class ChangeNoteableIdForNote < ActiveRecord::Migration
def up
change_column :notes, :noteable_id, :string
end
def down
change_column :notes, :noteable_id, :integer
end
end