debian-mirror-gitlab/db/migrate/20130926081215_change_owner_id_for_group.rb

10 lines
218 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
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