gitlabhq/db/migrate/20120121122616_fix_noteable_id.rb

10 lines
209 B
Ruby
Raw Normal View History

2012-01-21 13:54:32 +01:00
class FixNoteableId < ActiveRecord::Migration
def up
change_column :notes, :noteable_id, :string, :limit => 255
end
def down
change_column :notes, :noteable_id, :integer, :limit => 11
end
end