20170816234252_add_theme_id_to_users.rb 279 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 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