scinote-web/db/migrate/20190812065432_add_share_flag_to_repository.rb
2019-08-29 17:21:49 +02:00

7 lines
199 B
Ruby

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