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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/ci/migrate/20131120155545_add_email_notification_fields_to_project.rb')
-rw-r--r--db/ci/migrate/20131120155545_add_email_notification_fields_to_project.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/ci/migrate/20131120155545_add_email_notification_fields_to_project.rb b/db/ci/migrate/20131120155545_add_email_notification_fields_to_project.rb
new file mode 100644
index 00000000000..e0f4943d40f
--- /dev/null
+++ b/db/ci/migrate/20131120155545_add_email_notification_fields_to_project.rb
@@ -0,0 +1,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