1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-30 06:28:11 +09:00
mastodon/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