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:
authorDouwe Maan <douwe@gitlab.com>2015-08-29 21:49:14 +0300
committerDouwe Maan <douwe@gitlab.com>2015-08-29 21:49:14 +0300
commitfe86c8dfbd81ef21d0d685105397f4bf6048b2f2 (patch)
tree106ff615898f09076cada653a8dfb5710ce593db /db/migrate
parentd92f428024b2878682bb23b6b03bc671636b5afe (diff)
parenta429eb4d455cabde26c5cdf8a3b38e65966531dc (diff)
Merge branch 'master' into joelkoglin/gitlab-ce-feature_fix_ldap_auth_issue_993
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150814065925_remove_oauth_tokens_from_users.rb8
-rw-r--r--db/migrate/20150818213832_add_sent_notifications.rb13
-rw-r--r--db/migrate/20150824002011_add_enable_ssl_verification.rb5
3 files changed, 26 insertions, 0 deletions
diff --git a/db/migrate/20150814065925_remove_oauth_tokens_from_users.rb b/db/migrate/20150814065925_remove_oauth_tokens_from_users.rb
new file mode 100644
index 00000000000..de2078a9268
--- /dev/null
+++ b/db/migrate/20150814065925_remove_oauth_tokens_from_users.rb
@@ -0,0 +1,8 @@
+class RemoveOauthTokensFromUsers < ActiveRecord::Migration
+ def change
+ remove_column :users, :github_access_token, :string
+ remove_column :users, :gitlab_access_token, :string
+ remove_column :users, :bitbucket_access_token, :string
+ remove_column :users, :bitbucket_access_token_secret, :string
+ end
+end
diff --git a/db/migrate/20150818213832_add_sent_notifications.rb b/db/migrate/20150818213832_add_sent_notifications.rb
new file mode 100644
index 00000000000..43e8d6a1a82
--- /dev/null
+++ b/db/migrate/20150818213832_add_sent_notifications.rb
@@ -0,0 +1,13 @@
+class AddSentNotifications < ActiveRecord::Migration
+ def change
+ create_table :sent_notifications do |t|
+ t.references :project
+ t.references :noteable, polymorphic: true
+ t.references :recipient
+ t.string :commit_id
+ t.string :reply_key, null: false
+ end
+
+ add_index :sent_notifications, :reply_key, unique: true
+ end
+end
diff --git a/db/migrate/20150824002011_add_enable_ssl_verification.rb b/db/migrate/20150824002011_add_enable_ssl_verification.rb
new file mode 100644
index 00000000000..093c068fbde
--- /dev/null
+++ b/db/migrate/20150824002011_add_enable_ssl_verification.rb
@@ -0,0 +1,5 @@
+class AddEnableSslVerification < ActiveRecord::Migration
+ def change
+ add_column :web_hooks, :enable_ssl_verification, :boolean, default: false
+ end
+end