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

20110928142747_change_noteable_id_for_note.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc9d1f0171a229a3baf16cc4b219a8c050f58925 (plain)
1
2
3
4
5
6
7
8
9
class ChangeNoteableIdForNote < ActiveRecord::Migration
  def up
    change_column :notes, :noteable_id, :string
  end

  def down
    change_column :notes, :noteable_id, :integer
  end
end