20171006142024_add_uri_to_custom_emojis.rb 281 B

123456789101112
  1. # frozen_string_literal: true
  2. class AddUriToCustomEmojis < ActiveRecord::Migration[5.2]
  3. def change
  4. safety_assured do
  5. change_table(:custom_emojis, bulk: true) do |t|
  6. t.column :uri, :string
  7. t.column :image_remote_url, :string
  8. end
  9. end
  10. end
  11. end