diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-05-29 13:29:16 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-05-29 13:29:16 +0200 |
commit | 96d6fdc27cc3721ec76b6542a32ae236d5e78956 (patch) | |
tree | 16f4e0d428caacb21eeae74cead4edb05f5080db /db/migrate | |
parent | 70b29c3576f646371c3a5bee312b921a3053fb70 (diff) | |
download | gitlab-ce-96d6fdc27cc3721ec76b6542a32ae236d5e78956.tar.gz |
Add option to disallow users from registering any application to use GitLab as an OAuth provideruser-oauth-applications
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20150529111607_add_user_oauth_applications_to_application_settings.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150529111607_add_user_oauth_applications_to_application_settings.rb b/db/migrate/20150529111607_add_user_oauth_applications_to_application_settings.rb new file mode 100644 index 00000000000..6a78294f0b2 --- /dev/null +++ b/db/migrate/20150529111607_add_user_oauth_applications_to_application_settings.rb @@ -0,0 +1,5 @@ +class AddUserOauthApplicationsToApplicationSettings < ActiveRecord::Migration + def change + add_column :application_settings, :user_oauth_applications, :bool, default: true + end +end |