Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20170816234252_add_theme_id_to_users.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5043f9ec5917433ce5a76d189434834c3b7f5188 (plain)
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