debian-mirror-gitlab/db/migrate/20201022103304_add_availability_to_user_statuses.rb
2021-01-30 21:13:34 +05:30

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