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: 2bdd22d5a04094f3493b3702e04ff2547b9b2471 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
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