gitlabhq/db/migrate/20110928142747_change_noteable_id_for_note.rb
Dmitriy Zaporozhets d378468794 v1.0
2011-10-13 04:00:00 +03:00

10 lines
190 B
Ruby

class ChangeNoteableIdForNote < ActiveRecord::Migration
def up
change_column :notes, :noteable_id, :string
end
def down
change_column :notes, :noteable_id, :integer
end
end