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: bd04445cac6d5888d345dce19596339d13497d10 (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[4.2]
  DOWNTIME = false

  def change
    add_column :users, :theme_id, :integer, limit: 2
  end
end