debian-mirror-gitlab/db/migrate/20130926081215_change_owner_id_for_group.rb
2016-06-16 23:09:34 +05:30

11 lines
240 B
Ruby

# 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