glitchier-soc/db/migrate/20171006142024_add_uri_to_custom_emojis.rb

13 lines
281 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddUriToCustomEmojis < ActiveRecord::Migration[5.2]
def change
safety_assured do
change_table(:custom_emojis, bulk: true) do |t|
t.column :uri, :string
t.column :image_remote_url, :string
end
end
end
end