debian-mirror-gitlab/db/migrate/20201022103304_add_availability_to_user_statuses.rb

10 lines
231 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# 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