summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-05-13 11:17:16 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-05-13 11:17:16 +0000
commitf32a045ef41688859732abfcdc2a2030387be78f (patch)
tree883efa6fcf7d0eac100d7c07132400e1bcdfd4c3 /db
parentcb8f974b2126122ad22fd01301c576f14c69ed01 (diff)
parent0928c3ae04c8e708753705746e9eb74c62001dad (diff)
downloadgitlab-ce-f32a045ef41688859732abfcdc2a2030387be78f.tar.gz
Merge branch 'version-check' into 'master'
Version check See merge request !1509
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20150310194358_add_version_check_to_application_settings.rb5
-rw-r--r--db/schema.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20150310194358_add_version_check_to_application_settings.rb b/db/migrate/20150310194358_add_version_check_to_application_settings.rb
new file mode 100644
index 00000000000..e9d42c1e749
--- /dev/null
+++ b/db/migrate/20150310194358_add_version_check_to_application_settings.rb
@@ -0,0 +1,5 @@
+class AddVersionCheckToApplicationSettings < ActiveRecord::Migration
+ def change
+ add_column :application_settings, :version_check_enabled, :boolean, default: true
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index c89d22d241c..f7581eaf7fb 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -28,6 +28,7 @@ ActiveRecord::Schema.define(version: 20150509180749) do
t.integer "default_branch_protection", default: 2
t.boolean "twitter_sharing_enabled", default: true
t.text "restricted_visibility_levels"
+ t.boolean "version_check_enabled", default: true
t.integer "max_attachment_size", default: 10, null: false
t.integer "default_project_visibility"
t.integer "default_snippet_visibility"