mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-27 21:45:02 +01:00
13 lines
281 B
Ruby
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
|