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

10 lines
231 B
Ruby
Raw Normal View History

# 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