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:
authorPeter Göbel <peter.goebel@debd.de>2015-10-05 18:22:47 +0300
committerPeter Göbel <peter.goebel@debd.de>2015-10-05 18:22:47 +0300
commite2c5d08e7e4482bd13b8e2e4f77db73dc757d6a7 (patch)
tree3e2ed73cc5a01b257e4f32f6f35a2bb778e2176e /db/migrate/20151005150751_add_layout_option_for_users.rb
parent144eef38507a5b3e21f8aa5e38247bdfd73fba23 (diff)
added user preference to change layout width
Diffstat (limited to 'db/migrate/20151005150751_add_layout_option_for_users.rb')
-rw-r--r--db/migrate/20151005150751_add_layout_option_for_users.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20151005150751_add_layout_option_for_users.rb b/db/migrate/20151005150751_add_layout_option_for_users.rb
new file mode 100644
index 00000000000..5ead0c04d5a
--- /dev/null
+++ b/db/migrate/20151005150751_add_layout_option_for_users.rb
@@ -0,0 +1,5 @@
+class AddLayoutOptionForUsers < ActiveRecord::Migration
+ def change
+ add_column :users, :layout, :integer, :default => 0
+ end
+end \ No newline at end of file