2023-07-12 17:47:08 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-03-28 01:09:10 +11:00
|
|
|
class AddUriToCustomEmojis < ActiveRecord::Migration[5.2]
|
2017-10-08 02:43:42 +11:00
|
|
|
def change
|
2023-11-07 03:15:48 +11:00
|
|
|
safety_assured do
|
|
|
|
change_table(:custom_emojis, bulk: true) do |t|
|
|
|
|
t.column :uri, :string
|
|
|
|
t.column :image_remote_url, :string
|
|
|
|
end
|
|
|
|
end
|
2017-10-08 02:43:42 +11:00
|
|
|
end
|
|
|
|
end
|