scinote-web/db/migrate/20190812065432_add_share_flag_to_repository.rb

8 lines
199 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddShareFlagToRepository < ActiveRecord::Migration[5.2]
def change
add_column :repositories, :permission_level, :integer, null: false, default: 0
end
end