1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/db/migrate/20171006142024_add_uri_to_custom_emojis.rb

13 lines
281 B
Ruby
Raw Permalink 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