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

20201022103304_add_availability_to_user_statuses.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9144c81fcfb8799c574c0381800ea9ede8202e67 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class AddAvailabilityToUserStatuses < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    add_column :user_statuses, :availability, :integer, limit: 2, default: 0, null: false
  end
end