Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20131120155545_add_email_notification_fields_to_project.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0f4943d40f497442fed31a5fcb2f90fdac5bfaf (plain)
1
2
3
4
5
6
7
class AddEmailNotificationFieldsToProject < ActiveRecord::Migration
  def change
    add_column :projects, :email_recipients, :string, default: '', null: false
    add_column :projects, :email_add_committer, :boolean, default: true, null: false
    add_column :projects, :email_all_broken_builds, :boolean, default: true, null: false
  end
end