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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-08 11:22:50 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-08 11:22:50 +0300
commit8589b4e137f50293952923bb07e2814257d7784d (patch)
tree45e96152606d36a906f5a8d54ad1c245987c3b9e /db/migrate
parentd02a22ba21f91d2aa4f9cf716dc3aefcf7e7495e (diff)
Init ApplicationSettings resource with defaults from config file
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150108073740_create_application_settings.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20150108073740_create_application_settings.rb b/db/migrate/20150108073740_create_application_settings.rb
new file mode 100644
index 00000000000..651e35fdf7a
--- /dev/null
+++ b/db/migrate/20150108073740_create_application_settings.rb
@@ -0,0 +1,13 @@
+class CreateApplicationSettings < ActiveRecord::Migration
+ def change
+ create_table :application_settings do |t|
+ t.integer :default_projects_limit
+ t.boolean :signup_enabled
+ t.boolean :signin_enabled
+ t.boolean :gravatar_enabled
+ t.text :sign_in_text
+
+ t.timestamps
+ end
+ end
+end