gitlabhq/db/migrate/20120121122616_fix_noteable_id.rb
2012-01-21 14:54:32 +02:00

10 lines
209 B
Ruby

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