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

20130926081215_change_owner_id_for_group.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f1992c37ab0bb51c4b54c0e8b82da7798fce568 (plain)
1
2
3
4
5
6
7
8
9
class ChangeOwnerIdForGroup < ActiveRecord::Migration
  def up
    change_column :namespaces, :owner_id, :integer, null: true
  end

  def down
    change_column :namespaces, :owner_id, :integer, null: false
  end
end