gitlab-org--gitlab-foss/db/migrate/20201022103304_add_availability_to_user_statuses.rb

9 lines
231 B
Ruby

# 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