debian-mirror-gitlab/db/migrate/20160223192159_add_confidential_to_issues.rb
2018-12-23 12:14:25 +05:30

7 lines
207 B
Ruby

# rubocop:disable all
class AddConfidentialToIssues < ActiveRecord::Migration[4.2]
def change
add_column :issues, :confidential, :boolean, default: false
add_index :issues, :confidential
end
end