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

20170316184328_add_handle_column_to_users.rb « migrate « 9.0.0 « release_migrations « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cc4a7fee7d96e511d527a01c9e7b936bf55facc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddHandleColumnToUsers < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  # Set this constant to true if this migration requires downtime.
  DOWNTIME = false

  def change
    add_column :users, :handle, :string
  end
end