Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20120121122616_fix_noteable_id.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dbc0fa3e12c27e67540da25da1202eea536e9f3e (plain)
1
2
3
4
5
6
7
8
9
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