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

20160316192622_change_target_id_to_null_on_todos.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6871b3920df145b0d609cddb8b7ba8dc881f0851 (plain)
1
2
3
4
5
class ChangeTargetIdToNullOnTodos < ActiveRecord::Migration
  def change
    change_column_null :todos, :target_id, true
  end
end