summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2016-06-29 23:35:00 -0400
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-06-29 23:35:00 -0400
commit4a8a69837a9a14fca39bf089099b581602d983f2 (patch)
tree79c028de4c65c580a4f5d462a3ac4202dbcd0e72 /db
parent20b9bb2029972c5f5334d6d684e0d60edb034c5f (diff)
downloadgitlab-ce-4a8a69837a9a14fca39bf089099b581602d983f2.tar.gz
Add Application Setting to configure default Repository Path for new projectsshards-config
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160614182521_add_repository_storage_to_application_settings.rb5
-rw-r--r--db/schema.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160614182521_add_repository_storage_to_application_settings.rb b/db/migrate/20160614182521_add_repository_storage_to_application_settings.rb
new file mode 100644
index 00000000000..6dae91b700b
--- /dev/null
+++ b/db/migrate/20160614182521_add_repository_storage_to_application_settings.rb
@@ -0,0 +1,5 @@
+class AddRepositoryStorageToApplicationSettings < ActiveRecord::Migration
+ def change
+ add_column :application_settings, :repository_storage, :string, default: 'default'
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index a7173116b1b..beb723c3bc5 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -85,6 +85,7 @@ ActiveRecord::Schema.define(version: 20160620115026) do
t.boolean "send_user_confirmation_email", default: false
t.integer "container_registry_token_expire_delay", default: 5
t.text "after_sign_up_text"
+ t.string "repository_storage", default: "default"
end
create_table "audit_events", force: :cascade do |t|