summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-03-10 15:37:45 +0200
committerValery Sizov <vsv2711@gmail.com>2015-03-10 15:56:33 +0200
commit7499901c2421074b1730b8a803b9435a3f234506 (patch)
treec445cf6e3b2a44605befcd16c477ca6547370db9 /db
parente435e6b4a4100f1884088aa5a6156ce69304b473 (diff)
downloadgitlab-ci-7499901c2421074b1730b8a803b9435a3f234506.tar.gz
rename committer to pusher
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20150310001733_rename_committer_to_pusher.rb5
-rw-r--r--db/schema.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/db/migrate/20150310001733_rename_committer_to_pusher.rb b/db/migrate/20150310001733_rename_committer_to_pusher.rb
new file mode 100644
index 0000000..7e18367
--- /dev/null
+++ b/db/migrate/20150310001733_rename_committer_to_pusher.rb
@@ -0,0 +1,5 @@
+class RenameCommitterToPusher < ActiveRecord::Migration
+ def change
+ rename_column :projects, :email_add_committer, :email_add_pusher
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 804984c..b76eaa0 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20150306135341) do
+ActiveRecord::Schema.define(version: 20150310001733) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -87,7 +87,7 @@ ActiveRecord::Schema.define(version: 20150306135341) do
t.integer "gitlab_id"
t.boolean "allow_git_fetch", default: true, null: false
t.string "email_recipients", default: "", null: false
- t.boolean "email_add_committer", default: true, null: false
+ t.boolean "email_add_pusher", default: true, null: false
t.boolean "email_only_broken_builds", default: true, null: false
t.string "skip_refs"
t.string "coverage_regex"