mastodon/db/migrate/20171006142024_add_uri_to_c...

13 lines
281 B
Ruby

# 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