gitlab-org--gitlab-foss/db/migrate/20130926081215_change_owner...

10 lines
218 B
Ruby

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