bastodon/db/migrate/20171020084748_add_visible_in_picker_to_custom_emoji.rb

9 行
243 B
Ruby

# frozen_string_literal: true
class AddVisibleInPickerToCustomEmoji < ActiveRecord::Migration[5.2]
def change
safety_assured do
add_column :custom_emojis, :visible_in_picker, :boolean, default: true, null: false
end
end
end