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:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-11 18:44:42 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-11 18:44:42 +0300
commit9b177bb7c94df6c7d3868235f75939a41acf8718 (patch)
treeef8541d3ef8047f2ac6711b6e030244f812b7b49 /db/migrate/20170816234252_add_theme_id_to_users.rb
parent73a913f2b5f2a5dd36e13e09d74264d1da218d6a (diff)
Revert "Merge branch 'revert-f2421b2b' into 'master'"
This reverts merge request !14148
Diffstat (limited to 'db/migrate/20170816234252_add_theme_id_to_users.rb')
-rw-r--r--db/migrate/20170816234252_add_theme_id_to_users.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20170816234252_add_theme_id_to_users.rb b/db/migrate/20170816234252_add_theme_id_to_users.rb
new file mode 100644
index 00000000000..5043f9ec591
--- /dev/null
+++ b/db/migrate/20170816234252_add_theme_id_to_users.rb
@@ -0,0 +1,10 @@
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddThemeIdToUsers < ActiveRecord::Migration
+ DOWNTIME = false
+
+ def change
+ add_column :users, :theme_id, :integer, limit: 2
+ end
+end